On 26/08/15 18:05, Erick Erickson wrote: > bq: my dog > has fleas > I wouldn't want some variant of "og ha" to match, > > Here's where the mysterious "positionIncrementGap" comes in. If you > make this field "multiValued", and index this like this: > <doc> > <field name="blah">my dog</field> > <field name="blah">has fleas</field> > <doc> > > then the position of "dog" will be 2 and the position of "has" will be > 102 assuming > the positionIncrementGap is the default 100. N.B. I'm not sure you'll > see this in the > admin/analysis page or not..... > > Anyway, now your example won't match across the two parts unless > you specify a "slop" up in the 101 range.
Oh that's nifty, thanks!