lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mck <m...@semb.wever.org>
Subject RE: Re: Replacing FAST functionality at sesam.no - ShingleFilter+exactmatching
Date Wed, 10 Sep 2008 07:55:18 GMT

> probably better to change the one instance of .setPositionIncrement(0)
> to .setPositionIncrement(1) - that way, MultiPhraseQuery will not be
> invoked, and the standard disjunction thing should happen.

Tried this.
As you say i end up with instead a
PhraseQuery
        terms = { list_entry_shingles:abcd
                  list_entry_shingles:abcd efgh
                  list_entry_shingles:abcd efgh ijkl 
                  list_entry_shingles:efgh
                  list_entry_shingles:efgh ijkl 
                  list_entry_shingles:ijkl }

But this does not return the hits i want.
(It returns one hit if TextField and zero hits if StrField, the same
behaviour i mentioned before).

~mck

-- 
"Traveller, there are no paths. Paths are made by walking." Australian
Aboriginal saying 
| semb.wever.org | sesat.no | sesam.no |

Mime
View raw message