Apache Lucene.Net 2.4.0 Class Library API

ExtendedFieldCache.GetLongs Method (IndexReader, String)

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

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

long[] GetLongs(
   IndexReader reader,
   string field
);

Parameters

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

Return Value

The values in the given field for each document.

See Also

ExtendedFieldCache Interface | Lucene.Net.Search Namespace | ExtendedFieldCache.GetLongs Overload List