DotLucene 1.4 API Documentation |

# FieldCache.GetFloats Method

Checks the internal cache for an appropriate entry, and if none is found, reads the terms in `Field` as floats and returns an array of size `reader.maxDoc()` of the value each document has in the given Field.

float[] GetFloats(
IndexReader reader,
string field
);

#### Parameters

reader
  Used to get Field values.
field

#### Return Value

The values in the given Field for each document.

#### See Also

FieldCache Interface | Lucene.Net.Search Namespace