Apache Lucene.Net 2.4.0 Class Library API

FieldCache.GetStrings Method 

Checks the internal cache for an appropriate entry, and if none is found, reads the term values in

field
and returns an array of size
reader.maxDoc()
containing the value each document has in the given field.

string[] GetStrings(
   IndexReader reader,
   string field
);

Parameters

reader
Used to get field values.
field
Which field contains the strings.

Return Value

The values in the given field for each document.

See Also

FieldCache Interface | Lucene.Net.Search Namespace