> 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 |
signature.asc
Description: This is a digitally signed message part