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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]