Method GetDocTermOrds
GetDocTermOrds(AtomicReader, String)
Checks the internal cache for an appropriate entry, and if none is found, reads the term values
in field
and returns a SortedSetDocValues instance, providing a method to retrieve
the terms (as ords) per document.
Declaration
SortedSetDocValues GetDocTermOrds(AtomicReader reader, string field)
Parameters
Type | Name | Description |
---|---|---|
AtomicReader | reader | Used to build a SortedSetDocValues instance |
System.String | field | Which field contains the strings. |
Returns
Type | Description |
---|---|
SortedSetDocValues | a SortedSetDocValues instance |