|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.solr.search.function.DocValues
org.apache.solr.search.function.StringIndexDocValues
public abstract class StringIndexDocValues
Internal class, subject to change. Serves as base class for DocValues based on StringIndex
| Field Summary | |
|---|---|
protected FieldCache.StringIndex |
index
|
protected String[] |
lookup
|
protected int[] |
order
|
protected ValueSource |
vs
|
| Constructor Summary | |
|---|---|
StringIndexDocValues(ValueSource vs,
IndexReader reader,
String field)
|
|
| Method Summary | |
|---|---|
org.apache.solr.search.function.ValueSourceScorer |
getRangeScorer(IndexReader reader,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper)
|
String |
toString(int doc)
|
protected abstract String |
toTerm(String readableValue)
|
| Methods inherited from class org.apache.solr.search.function.DocValues |
|---|
byteVal, doubleVal, explain, floatVal, getScorer, intVal, longVal, shortVal, strVal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final FieldCache.StringIndex index
protected final int[] order
protected final String[] lookup
protected final ValueSource vs
| Constructor Detail |
|---|
public StringIndexDocValues(ValueSource vs,
IndexReader reader,
String field)
throws IOException
IOException| Method Detail |
|---|
protected abstract String toTerm(String readableValue)
public org.apache.solr.search.function.ValueSourceScorer getRangeScorer(IndexReader reader,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper)
getRangeScorer in class DocValuespublic String toString(int doc)
toString in class DocValues
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||