Checks the internal cache for an appropriate entry, and if none is found reads the term values in
CopyC#
field
and returns an array of them in natural order, along with an array telling which element in the term array each document uses.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
StringIndex GetStringIndex(
	IndexReader reader,
	string field
)
Visual Basic
Function GetStringIndex ( _
	reader As IndexReader, _
	field As String _
) As StringIndex
Visual C++
StringIndex^ GetStringIndex(
	IndexReader^ reader, 
	String^ field
)

Parameters

reader
Type: Lucene.Net.Index..::..IndexReader
Used to get field values.
field
Type: System..::..String
Which field contains the strings.

Return Value

Array of terms and index into the array for each document.

See Also