org.apache.solr.search.function
Class StringIndexDocValues
java.lang.Object
org.apache.solr.search.function.DocValues
org.apache.solr.search.function.StringIndexDocValues
public abstract class StringIndexDocValues
- extends DocValues
Internal class, subject to change.
Serves as base class for DocValues based on StringIndex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
index
protected final FieldCache.StringIndex index
order
protected final int[] order
lookup
protected final String[] lookup
vs
protected final ValueSource vs
StringIndexDocValues
public StringIndexDocValues(ValueSource vs,
IndexReader reader,
String field)
throws IOException
- Throws:
IOException
toTerm
protected abstract String toTerm(String readableValue)
getRangeScorer
public org.apache.solr.search.function.ValueSourceScorer getRangeScorer(IndexReader reader,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper)
- Overrides:
getRangeScorer
in class DocValues
toString
public String toString(int doc)
- Specified by:
toString
in class DocValues
Copyright © 2010 Apache Software Foundation. All Rights Reserved.