lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Positions in SpanFirst
Date Thu, 22 Feb 2007 00:15:03 GMT

: So, if you can add 1000, shouldn't setting 0 each time cause it to start at 0
: each time?  The default Analyzer.getPositionIncrementGap always returns 0.

it's not called Analyzer.getPositionAfterGap .. it's
Analyzer.getPositionIncrementGap .. it's the Position Increment used when
there is a Gap -- so returning 0 means that no exra increment is used, and
multiple values are treated just like one long stream of tokens (each
token has a position of 1 greater then the token before it).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message