Constructor NumericTokenStream
NumericTokenStream()
Creates a token stream for numeric values using the default precisionStep
Lucene.
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. |
precisionStep |
NumericTokenStream(AttributeSource, Int32)
Expert: Creates a token stream for numeric values with the specified
precisionStep
using the given Lucene.
Declaration
public NumericTokenStream(AttributeSource source, int precisionStep)
Parameters
Type | Name | Description |
---|---|---|
Lucene. |
source | |
System. |
precisionStep |
NumericTokenStream(AttributeSource.AttributeFactory, Int32)
Expert: Creates a token stream for numeric values with the specified
precisionStep
using the given
Lucene.
Declaration
public NumericTokenStream(AttributeSource.AttributeFactory factory, int precisionStep)
Parameters
Type | Name | Description |
---|---|---|
Lucene. |
factory | |
System. |
precisionStep |