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