org.apache.lucene.queries.function.valuesource
Class NumericIndexDocValueSource
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.lucene.queries.function.valuesource.NumericIndexDocValueSource
public class NumericIndexDocValueSource
- extends ValueSource
Expert: obtains numeric field values from a FunctionValues field.
This ValueSource is compatible with all numerical
FunctionValues
- WARNING: This API is experimental and might change in incompatible ways in the next release.
NumericIndexDocValueSource
public NumericIndexDocValueSource(String field)
getValues
public FunctionValues getValues(Map context,
AtomicReaderContext readerContext)
throws IOException
- Description copied from class:
ValueSource
- Gets the values for this reader and the context that was previously
passed to createWeight()
- Specified by:
getValues in class ValueSource
- Throws:
IOException
description
public String description()
- Description copied from class:
ValueSource
- description of field, used in explain()
- Specified by:
description in class ValueSource
hashCode
public int hashCode()
- Specified by:
hashCode in class ValueSource
equals
public boolean equals(Object obj)
- Specified by:
equals in class ValueSource
toString
public String toString()
- Overrides:
toString in class ValueSource
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.