You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Michel Nadeau <ak...@gmail.com> on 2009/11/20 05:27:53 UTC
ChainedFilter in Lucene 2.9
Hi !
Can someone tell me what is replacing ChainedFilter in Lucene 2.9?
I used to do it like this -
h = searcher.search(q, cluCF, cluSort);
Where cluCF is a ChainedFilter declared like this -
Filter cluCF = new ChainedFilter(cluFilters, ChainedFilter.AND);
cluFilters is a Filter[] containing QueryFilter's and/or RangeFilter's, and
ended with a null index.
But in Lucene 2.9, I can't find ChainedFilter anywhere. Is there still a way
to do this? It's crucial for my application.
Thanks!
- Mike
akaris@gmail.com
Re: ChainedFilter in Lucene 2.9
Posted by Robert Muir <rc...@gmail.com>.
Hi, you can find this in 'lucene-misc' contrib jar file
http://lucene.apache.org/java/2_9_1/api/contrib-misc/org/apache/lucene/misc/ChainedFilter.html
On Thu, Nov 19, 2009 at 11:27 PM, Michel Nadeau <ak...@gmail.com> wrote:
> Hi !
>
> Can someone tell me what is replacing ChainedFilter in Lucene 2.9?
>
> I used to do it like this -
>
> h = searcher.search(q, cluCF, cluSort);
>
> Where cluCF is a ChainedFilter declared like this -
>
> Filter cluCF = new ChainedFilter(cluFilters, ChainedFilter.AND);
>
> cluFilters is a Filter[] containing QueryFilter's and/or RangeFilter's, and
> ended with a null index.
>
> But in Lucene 2.9, I can't find ChainedFilter anywhere. Is there still a
> way
> to do this? It's crucial for my application.
>
> Thanks!
>
> - Mike
> akaris@gmail.com
>
--
Robert Muir
rcmuir@gmail.com