Re: posion padding instead of positionIncrementGap

2016-06-21 Thread David Smiley
The other answers are fine; I've done this a couple times before to play tricks with span queries. It's a PITA if you want to integrate this with Solr; you may end up writing an URP that puts together the merged TokenStream then passes along a Field instance with this TS. Solr's DocumentBuilder

posion padding instead of positionIncrementGap

2016-06-20 Thread Mikhail Khludnev
Hello! Devs, I'm sure it's discussed many times or were in it air. If I have a few 3-tokens values in a multivalued field, how I can assign positions: 0,1,2...10,11,12,...20,21,22... instead of 0,1,2, 12,13,14, 24,25,26.. giving that positionIncrementGap=10 ? -- Sincerely yours Mikhail Khludnev