lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@gmail.com>
Subject Re: Get BitSet from Filter object in 4.1
Date Tue, 26 Mar 2013 11:06:35 GMT
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
<youngestachiever@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message