Class MultiFunction
Abstract parent class for ValueSource implementations that wrap multiple
ValueSources and apply their own logic.
Inheritance
System.Object
MultiFunction
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 MultiFunction : ValueSource
Constructors
|
Improve this Doc
View Source
MultiFunction(IList<ValueSource>)
Declaration
protected MultiFunction(IList<ValueSource> sources)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<ValueSource> |
sources |
|
Fields
|
Improve this Doc
View Source
m_sources
Declaration
protected readonly IList<ValueSource> m_sources
Field Value
Type |
Description |
System.Collections.Generic.IList<ValueSource> |
|
Properties
|
Improve this Doc
View Source
Name
Declaration
protected abstract string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
CreateWeight(IDictionary, IndexSearcher)
Declaration
public override void CreateWeight(IDictionary context, IndexSearcher searcher)
Parameters
Type |
Name |
Description |
System.Collections.IDictionary |
context |
|
Lucene.Net.Search.IndexSearcher |
searcher |
|
Overrides
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
GetDescription()
Declaration
public override string GetDescription()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
GetDescription(String, IList<ValueSource>)
Declaration
public static string GetDescription(string name, IList<ValueSource> sources)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Generic.IList<ValueSource> |
sources |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
ToString(String, FunctionValues[], Int32)
Declaration
public static string ToString(string name, FunctionValues[] valsArr, int doc)
Parameters
Type |
Name |
Description |
System.String |
name |
|
FunctionValues[] |
valsArr |
|
System.Int32 |
doc |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ValsArr(IList<ValueSource>, IDictionary, AtomicReaderContext)
Declaration
public static FunctionValues[] ValsArr(IList<ValueSource> sources, IDictionary fcontext, AtomicReaderContext readerContext)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<ValueSource> |
sources |
|
System.Collections.IDictionary |
fcontext |
|
Lucene.Net.Index.AtomicReaderContext |
readerContext |
|
Returns