Re: How to construct a ConstantScoreQuery with FixedBitSet

2018-04-23 Thread Shahak Nagiel
UNSUBSCRIBE On Monday, April 23, 2018, 9:59:24 AM EDT, Adrien Grand wrote: Creating a ConstantScoreQuery from a FixedBitSet feels wrong since queries are supposed to be independent from an index, while the FixedBitSet needs to depend on a particular index (eg. I assume that the length o

Re: How to construct a ConstantScoreQuery with FixedBitSet

2018-04-23 Thread Adrien Grand
Creating a ConstantScoreQuery from a FixedBitSet feels wrong since queries are supposed to be independent from an index, while the FixedBitSet needs to depend on a particular index (eg. I assume that the length of the bit set is your reader's maxDoc). Maybe you need to write a query that ends up bu