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
pull/1/head
hermens 19 years ago
parent 3385b5720d
commit b34713324a

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

Loading…
Cancel
Save