Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since when we iterate over all the terms in the lucene index, lucene will return also the term that has been deleted and not in use anymore untill the next index compaction. This is not a huge problem per se for computing index selectivity, but we were using this skewed numbers also for the index size. This commit will fix the index size to be computed correctly by asking lucene the number of documents present in the index.
- Loading branch information
1 parent
21eb863
commit 8813ab4
Showing
3 changed files
with
72 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters