Optimizing index at end of indexing process
This commit is contained in:
parent
c9754535a5
commit
7a1d6b165a
|
@ -141,6 +141,8 @@ open class LuceneBankFinder(indexFolder: File) : BankFinderBase(), IBankFinder {
|
|||
writer.updateDocument(IndexedBankListFileHashIdFieldName, IndexedBankListFileHashIdFieldValue,
|
||||
fields.storedField(IndexedBankListFileHashFieldName, bankListFileHash)
|
||||
)
|
||||
|
||||
writer.optimizeIndex()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue