mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
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:
parent
3385b5720d
commit
b34713324a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user