Class ValueSource
Instantiates FunctionValues for a particular reader.
Often used when creating a FunctionQuery.
Inheritance
Assembly: DistributedLucene.Net.Queries.dll
Syntax
public abstract class ValueSource : object
Methods
Name | Description |
---|---|
CreateWeight(IDictionary, IndexSearcher) | Implementations should propagate CreateWeight to sub-ValueSources which can optionally store weight info in the context. The context object will be passed to GetValues() where this info can be retrieved. |
Equals(Object) | |
GetDescription() | description of field, used in Explain() |
GetHashCode() | |
GetSortField(Boolean) | EXPERIMENTAL: This method is subject to change. Get the SortField for this ValueSource. Uses the GetValues(IDictionary, AtomicReaderContext) to populate the SortField. |
GetValues(IDictionary, AtomicReaderContext) | Gets the values for this reader and the context that was previously passed to CreateWeight(IDictionary, IndexSearcher) |
NewContext(IndexSearcher) | Returns a new non-threadsafe context map. |
ToString() |