Method SetSingleValue
SetSingleValue(Single)
Initializes the token stream with the supplied
NOTE: This was setFloatValue() in Lucene
Declaration
public NumericTokenStream SetSingleValue(float value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | value | the value, for which this TokenStream should enumerate tokens. |
Returns
Type | Description |
---|---|
NumericTokenStream | this instance, because of this you can use it the following way: |