Example usage for Java org.apache.lucene.queries.function ValueSource fields, constructors, methods, implement or subclass
The text is from its open source code.
DoubleValuesSource | asDoubleValuesSource() Expose this ValueSource as a DoubleValuesSource |
void | createWeight(Map context, IndexSearcher searcher) Implementations should propagate createWeight to sub-ValueSources which can optionally store weight info in the context. |
String | description() description of field, used in explain() |
SortField | getSortField(boolean reverse) EXPERIMENTAL: This method is subject to change. |
FunctionValues | getValues(Map context, LeafReaderContext readerContext) Gets the values for this reader and the context that was previously passed to createWeight(). |
int | hashCode() |
Map | newContext(IndexSearcher searcher) Returns a new non-threadsafe context map. |