lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven A Rowe" <sar...@syr.edu>
Subject RE: RE: Re: Replacing FAST functionality at sesam.no -ShingleFilter+exactmatching
Date Wed, 10 Sep 2008 15:10:04 GMT
Hi mck,

On 09/10/2008 at 3:55 AM, Mck wrote:
> > 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).

Have you tried submitting the query without quotes?  (That's where the PhraseQuery likely
comes from.)

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message