public static class FieldCache.StringIndex extends Object
Modifier and Type | Field and Description |
---|---|
String[] |
lookup
All the term values, in natural order.
|
int[] |
order
For each document, an index into the lookup array.
|
Constructor and Description |
---|
FieldCache.StringIndex(int[] values,
String[] lookup)
Creates one of these objects
|
public final String[] lookup
public final int[] order
public FieldCache.StringIndex(int[] values, String[] lookup)
public int binarySearchLookup(String key)