lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin <>
Subject Options for multiple filters
Date Wed, 03 Nov 2010 18:18:45 GMT
Is there a behavioral difference between:
    Query query = new FilteredQuery(query, filter1);, filter2, n);

    ChainedFilter filter = new ChainedFilter(
        new Filter[]{filter1, filter2}, ChainedFilter.AND);, filter, n);

I chose the former after reading performance measurements here:

But I'm definitely getting different results.

I also see that BooleanFilter has been added since our chosen version. Is that 
preferred to the above? Is it worthwhile to update the wiki?

Thanks for any help!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message