hossman wrote:
>
> "the second", and "no"
>
Thanks for that.
Concerning the *theoretical* performance difference, for the mid-size index,
what will it be in % roughly?
Are there any way to make indexReader.docFreqs() reflect the changes faster,
i.e. without the need to optimize()?
-
Kon
: new TermsFilter( termsList:[ new Term( 'id', '111' ) ] ).bits( indexReader
: ).cardinality()
...
: indexReader.docFreq( new Term( 'id', '111' ) )
...
: Which one is faster? Can I replace the 2nd one with the 1st and still get
: the same performance?
"the second", and "no"
-Ho
Hi all
I have following pieces of code (simplified for the simplicity sake):
1:
new TermsFilter( termsList:[ new Term( 'id', '111' ) ] ).bits( indexReader
).cardinality()
2:
indexReader.docFreq( new Term( 'id', '111' ) )
The problem with the second one are the 'delayed' deletes, so it doesn't