Show / Hide Table of Contents

    Namespace Lucene.Net.Analysis.Position

    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>
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)