Re: use highlighting on multivalued fields with positionIncrementGap 0

2020-02-23 Thread Paras Lehana
I haven't worked with highlighting much but what's the need to store terms in multivalued field? On Fri, 14 Feb 2020 at 20:04, Nicolas Franck wrote: > I'm trying to use highlighting on a multivalued text field (analysis not > so important) .. > > > { text: [ "hello", "world" ], id: 1 } > > but

use highlighting on multivalued fields with positionIncrementGap 0

2020-02-14 Thread Nicolas Franck
I'm trying to use highlighting on a multivalued text field (analysis not so important) .. { text: [ "hello", "world" ], id: 1 } but I want to match across the string boundaries: q=text:"hello world" This works by setting the attribute positionIncrementGap to 0, but then the hightlighting