Class SimpleSingleFunction
A simple System.Single function with a single argument
NOTE: This was SimpleFloatFunction in Lucene
Inherited Members
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.Queries.Function.ValueSources
Assembly: Lucene.Net.Queries.dll
Syntax
public abstract class SimpleSingleFunction : SingularFunction
  Constructors
| Improve this Doc View SourceSimpleSingleFunction(ValueSource)
Declaration
public SimpleSingleFunction(ValueSource source)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ValueSource | source | 
Methods
| Improve this Doc View SourceFunc(Int32, FunctionValues)
Declaration
protected abstract float Func(int doc, FunctionValues vals)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | doc | |
| FunctionValues | vals | 
Returns
| Type | Description | 
|---|---|
| System.Single | 
GetValues(IDictionary, AtomicReaderContext)
Declaration
public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.IDictionary | context | |
| AtomicReaderContext | readerContext | 
Returns
| Type | Description | 
|---|---|
| FunctionValues |