Hi,

If you use it for document filtering queries or to filter deleted documents, 
then FixedBitSet is the best replacement. The size given in the constructor 
must be the value of LeafReader#maxDoc(), because that's the maximum document 
number that can be used and may be marked in the bitset for a given index 
segment.

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: [email protected]

> -----Original Message-----
> From: Jyothsna Bavisetti <[email protected]>
> Sent: Wednesday, November 20, 2019 2:44 PM
> To: [email protected]
> Subject: Lucene Upgrade issues.
> 
> Hi All,
> 
> We are upgrading Lucene from 4.6 to 8.3.
> Earlier we used Open bit, Now it is deprecated. We have two options in latest
> version(FixedBitset or LongBitset).
> Could you please let me know which is the best option to use. Is there any
> points need to be consider while choosing one of them.  If  FixedBitSet what
> is the minimum size we need to define for it.
> 
> Please share some inputs.
> 
> Thanks,
> Jyothsna
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to