lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <m...@apache.org>
Subject Re: position padding instead of positionIncrementGap
Date Tue, 21 Jun 2016 07:05:45 GMT
Paul,
Thanks for responding!
But it sounds like it will work in a single value (token stream). How to
implement padding across several text values (separate token streams)? Can
we pass the last position from one token stream to the following?

On Tue, Jun 21, 2016 at 12:35 AM, Paul Elschot <paul.j.elschot@gmail.com>
wrote:

> At the 4th token use positionincrement 8?
> That's too simple, so what is the real question?
>
> Mikhail Khludnev <mkhl@apache.org> schreef op 20 juni 2016 23:27:47 CEST:
>
>> 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
>> Principal Engineer,
>> Grid Dynamics
>>
>


-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

Mime
View raw message