Re: Get BitSet from Filter object in 4.1

2013-03-26 Thread Simon Willnauer
You can do Filter#getDocIdSet(reader, acceptedDocs).bits() yet, this method might return null if the filter can not be represented as bits or for other reasons like performance. simon On Tue, Mar 26, 2013 at 10:37 AM, Ramprakash Ramamoorthy wrote: > Team, > > We are migrating from 2.3

Get BitSet from Filter object in 4.1

2013-03-26 Thread Ramprakash Ramamoorthy
Team, We are migrating from 2.3 to 4.1, and we have implemented a method which does this *BitSet searchTermBits = searchQueryFilter.bits(reader); *searchQueryFilter is of type Filter and reader is an IndexReader object. How would I achieve the same using 4.1, any pointers wou