Method GetStringIndex
GetStringIndex(IndexReader, String)
Checks the internal cache for an appropriate entry, and if none
is found reads the term values in field
and returns
an array of them in natural order, along with an array telling
which element in the term array each document uses.
Declaration
StringIndex GetStringIndex(IndexReader reader, String field)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader | Used to get field values. |
System.String | field | Which field contains the strings. |
Returns
Type | Description |
---|---|
StringIndex | Array of terms and index into the array for each document. |