public abstract class StringIndexDocValues extends DocValues
Modifier and Type | Class and Description |
---|---|
static class |
StringIndexDocValues.StringIndexException |
Modifier and Type | Field and Description |
---|---|
protected FieldCache.StringIndex |
index |
protected String[] |
lookup |
protected int[] |
order |
protected ValueSource |
vs |
Constructor and Description |
---|
StringIndexDocValues(ValueSource vs,
IndexReader reader,
String field) |
Modifier and Type | Method and Description |
---|---|
ValueSourceScorer |
getRangeScorer(IndexReader reader,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper) |
String |
toString(int doc) |
protected abstract String |
toTerm(String readableValue) |
protected final FieldCache.StringIndex index
protected final int[] order
protected final String[] lookup
protected final ValueSource vs
public StringIndexDocValues(ValueSource vs, IndexReader reader, String field) throws IOException
IOException
public ValueSourceScorer getRangeScorer(IndexReader reader, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper)
getRangeScorer
in class DocValues