lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: ChainedFilter in Lucene 2.9
Date Fri, 20 Nov 2009 04:31:42 GMT
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 <akaris@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message