Constructor NumericTokenStream
NumericTokenStream()
Creates a token stream for numeric values using the default precisionStep
Lucene.Net.Util.NumericUtils.PRECISION_STEP_DEFAULT (4). The stream is not yet initialized,
before using set a value using the various set???Value() methods.
Declaration
public NumericTokenStream()
NumericTokenStream(Int32)
Creates a token stream for numeric values with the specified
precisionStep
. The stream is not yet initialized,
before using set a value using the various set???Value() methods.
Declaration
public NumericTokenStream(int precisionStep)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | precisionStep |
NumericTokenStream(AttributeSource, Int32)
Expert: Creates a token stream for numeric values with the specified
precisionStep
using the given Lucene.Net.Util.AttributeSource.
The stream is not yet initialized,
before using set a value using the various set???Value() methods.
Declaration
public NumericTokenStream(AttributeSource source, int precisionStep)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.AttributeSource | source | |
System.Int32 | precisionStep |
NumericTokenStream(AttributeSource.AttributeFactory, Int32)
Expert: Creates a token stream for numeric values with the specified
precisionStep
using the given
Lucene.Net.Util.AttributeSource.AttributeFactory.
The stream is not yet initialized,
before using set a value using the various set???Value() methods.
Declaration
public NumericTokenStream(AttributeSource.AttributeFactory factory, int precisionStep)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.AttributeSource.AttributeFactory | factory | |
System.Int32 | precisionStep |