Re: Options for multiple filters

2010-11-05 Thread Ian Lea
What is your chosen version? At first glance I'd say your two examples should be the same but I know there is lots going on behind the scenes that I don't know about. Is one giving you correct results and the other not? As for BooleanFilter - no idea. FWIW I use QueryWrapperFilter, CachingWrapp

Options for multiple filters

2010-11-03 Thread Justin
Is there a behavioral difference between: Query query = new FilteredQuery(query, filter1); searcher.search(query, filter2, n); ...and: ChainedFilter filter = new ChainedFilter( new Filter[]{filter1, filter2}, ChainedFilter.AND); searcher.search(query, filter, n); I chose