> On 8/14/07, Ard Schrijvers <a.schrijvers@hippo.nl> wrote:
>
> > ...For a leading wildcard, I think some sort of 2 step
> filter might work, where the first term
> > is expanded to all possible terms that end with that term,
> then seek for documents in
> > the full text that match, and then do the current filter
> over this filtered set. WDOT?...
>
> Did you ask on the Lucene lists? I guess this is a common problem,
> there are probably existing solutions out there.
Yes I did [1]. I do not think the suggested MultiPhraseQuery is the most performant. I think
the lucene ChainedFilter would apply better, though I'll try to find some time to investigate
it soon.
[1] http://www.gossamer-threads.com/lists/lucene/java-user/52036
>
> -Bertrand
>
|