Checks the internal cache for an appropriate entry, and if
none is found, reads the terms in
CopyC# as floats and returns an array
of size
CopyC# of the value each document
has in the given field.
Namespace: Lucene.Net.Search
field

reader.maxDoc()
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
float[] GetFloats( IndexReader reader, string field, FloatParser parser ) |
Visual Basic |
---|
Function GetFloats ( _ reader As IndexReader, _ field As String, _ parser As FloatParser _ ) As Single() |
Visual C++ |
---|
array<float>^ GetFloats( IndexReader^ reader, String^ field, FloatParser^ parser ) |
Parameters
- reader
- Type: Lucene.Net.Index..::..IndexReader
Used to get field values.
- field
- Type: System..::..String
Which field contains the floats.
- parser
- Type: Lucene.Net.Search..::..FloatParser
Computes float for string values.