Class ValueSource
Inheritance
System.Object
ValueSource
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.Queries.dll
Syntax
public abstract class ValueSource
Methods
|
Improve this Doc
View Source
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.
Declaration
public virtual void CreateWeight(IDictionary context, IndexSearcher searcher)
Parameters
Type |
Name |
Description |
System.Collections.IDictionary |
context |
|
Lucene.Net.Search.IndexSearcher |
searcher |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public abstract override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetDescription()
description of field, used in Explain()
Declaration
public abstract string GetDescription()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public abstract override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
GetSortField(Boolean)
Declaration
public virtual SortField GetSortField(bool reverse)
Parameters
Type |
Name |
Description |
System.Boolean |
reverse |
true if this is a reverse sort.
|
Returns
Type |
Description |
Lucene.Net.Search.SortField |
The Lucene.Net.Search.SortField for the ValueSource
|
|
Improve this Doc
View Source
GetValues(IDictionary, AtomicReaderContext)
Declaration
public abstract FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
Parameters
Type |
Name |
Description |
System.Collections.IDictionary |
context |
|
Lucene.Net.Index.AtomicReaderContext |
readerContext |
|
Returns
|
Improve this Doc
View Source
NewContext(IndexSearcher)
Returns a new non-threadsafe context map.
Declaration
public static IDictionary NewContext(IndexSearcher searcher)
Parameters
Type |
Name |
Description |
Lucene.Net.Search.IndexSearcher |
searcher |
|
Returns
Type |
Description |
System.Collections.IDictionary |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()