Class SimpleBoolFunction
BoolFunction implementation which applies an extendible
function to the values of a single wrapped ValueSource.
Functions this can be used for include whether a field has a value or not,
or inverting the value of the wrapped ValueSource.
Inheritance
System.Object
SimpleBoolFunction
Assembly: Lucene.Net.Queries.dll
Syntax
public abstract class SimpleBoolFunction : BoolFunction
Constructors
|
Improve this Doc
View Source
SimpleBoolFunction(ValueSource)
Declaration
public SimpleBoolFunction(ValueSource source)
Parameters
Fields
|
Improve this Doc
View Source
m_source
Declaration
protected readonly ValueSource m_source
Field Value
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
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
Func(Int32, FunctionValues)
Declaration
protected abstract bool Func(int doc, FunctionValues vals)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetDescription()
Declaration
public override string GetDescription()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetValues(IDictionary, AtomicReaderContext)
Declaration
public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
Parameters
Returns
Overrides