Interface FieldCache.ISingleParser
Interface to parse floats from document fields.
NOTE: This was FloatParser in LuceneInherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public interface FieldCache.ISingleParser : FieldCache.IParser
Methods
ParseSingle(BytesRef)
Return an float representation of this field's value.
NOTE: This was parseFloat() in LuceneDeclaration
float ParseSingle(BytesRef term)
Parameters
| Type | Name | Description |
|---|---|---|
| BytesRef | term |
Returns
| Type | Description |
|---|---|
| float |