Re: Using Lucene Filter with SolrIndexSearcher

2009-06-16 Thread Aleksandar Bradic
Ah, right. FilteredQuery works just great Thanks, Yonik Best, .Alek On Jun 16, 2009, at 9:45 PM, Yonik Seeley wrote: On Tue, Jun 16, 2009 at 3:31 PM, Aleksandar Bradic wrote: Any ideas on how to use custom Lucene Filter (lucene.search.Filter) in conjuction with SolrIndexSearcher ? You c

Re: Using Lucene Filter with SolrIndexSearcher

2009-06-16 Thread Yonik Seeley
On Tue, Jun 16, 2009 at 3:31 PM, Aleksandar Bradic wrote: > Any ideas on how to use custom Lucene Filter (lucene.search.Filter) in > conjuction with SolrIndexSearcher ? You can wrap the original query with a FilteredQuery class, or create a DocSet from the Filter via SolrIndexSearcher.convertFilte

Using Lucene Filter with SolrIndexSearcher

2009-06-16 Thread Aleksandar Bradic
Hi all, Any ideas on how to use custom Lucene Filter (lucene.search.Filter) in conjuction with SolrIndexSearcher ? The case is writing custom Filter performing arbitrary records selection and AND-ing it to the existing filters passed in the query. However, the ResponseBuilder filters are