Property EnablePositionIncrements
EnablePositionIncrements
If true
, this StopFilter will preserve
positions of the incoming tokens (ie, accumulate and
set position increments of the removed stop tokens).
Generally, true
is best as it does not
lose information (positions of the original tokens)
during indexing.
When set, when a token is stopped (omitted), the position increment of the following token is incremented.
NOTE: be sure to also set Lucene.Net.QueryParsers.QueryParser.EnablePositionIncrements if you use QueryParser to create queries.
Declaration
public bool EnablePositionIncrements { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |