Constructor NumericTokenStream
NumericTokenStream()
Creates a token stream for numeric values using the default Lucene.Net.Analysis.NumericTokenStream.precisionStep 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.AttributeFactory, Int32)
Expert: Creates a token stream for numeric values with the specified
precisionStep
using the given
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 |
---|---|---|
AttributeSource.AttributeFactory | factory | |
System.Int32 | precisionStep |