DBImport: remove words from source index even if nothing has been added to home index

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1849 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
hermens 2006-03-07 22:19:39 +00:00
parent 3385b5720d
commit b34713324a

View File

@ -184,8 +184,7 @@ public class plasmaDbImporter extends AbstractImporter implements dbImporter {
if (isAborted()) break; if (isAborted()) break;
// importing entity container to home db // importing entity container to home db
if (newContainer.size() == 0) continue; if (newContainer.size() > 0) { this.homeWordIndex.addEntries(newContainer, System.currentTimeMillis(), false); }
this.homeWordIndex.addEntries(newContainer, System.currentTimeMillis(), false);
// delete complete index entity file // delete complete index entity file
this.importWordIndex.deleteIndex(this.wordHash); this.importWordIndex.deleteIndex(this.wordHash);