Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Properties | List of all members
Lucene.Net.Analysis.Tokenattributes.IPositionIncrementAttribute Interface Reference

The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching. More...

Inherits Lucene.Net.Util.IAttribute.

Inherited by Lucene.Net.Analysis.Token, and Lucene.Net.Analysis.Tokenattributes.PositionIncrementAttribute.

Properties

int PositionIncrement [get, set]
 Gets or sets the position increment. The default value is one.
 

Detailed Description

The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.

The default value is one.

Some common uses for this are:

See Also
Lucene.Net.Index.TermPositions

Definition at line 51 of file IPositionIncrementAttribute.cs.

Property Documentation

int Lucene.Net.Analysis.Tokenattributes.IPositionIncrementAttribute.PositionIncrement
getset

Gets or sets the position increment. The default value is one.

the distance from the prior term

Definition at line 57 of file IPositionIncrementAttribute.cs.


The documentation for this interface was generated from the following file: