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
<youngestachie...@gmail.com> wrote:
> 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 would help.
> Thanks in advance.
>
> --
> With Thanks and Regards,
> Ramprakash Ramamoorthy,
> India,
> +91 9626975420

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to