Namespace Lucene.Net.Analysis.Position
Filter for assigning position increments.
Classes
PositionFilter
Set the positionIncrement of all tokens to the "positionIncrement", except the first return token which retains its original positionIncrement value. The default positionIncrement value is zero.
PositionFilterFactory
Factory for PositionFilter. Set the positionIncrement of all tokens to the "positionIncrement", except the first return token which retains its original positionIncrement value. The default positionIncrement value is zero.
<fieldType name="text_position" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.PositionFilterFactory" positionIncrement="0"/>
</analyzer>
</fieldType>