Show / Hide Table of Contents

    Class SimpleSingleFunction

    A simple function with a single argument

    NOTE: This was SimpleFloatFunction in Lucene

    Inheritance
    System.Object
    ValueSource
    SingularFunction
    SimpleSingleFunction
    Inherited Members
    SingularFunction.m_source
    SingularFunction.Name
    SingularFunction.GetDescription()
    SingularFunction.GetHashCode()
    SingularFunction.Equals(Object)
    SingularFunction.CreateWeight(IDictionary, IndexSearcher)
    ValueSource.ToString()
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(Boolean)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public abstract class SimpleSingleFunction : SingularFunction

    Constructors

    | Improve this Doc View Source

    SimpleSingleFunction(ValueSource)

    Declaration
    public SimpleSingleFunction(ValueSource source)
    Parameters
    Type Name Description
    ValueSource source

    Methods

    | Improve this Doc View Source

    Func(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
    | Improve this Doc View Source

    GetValues(IDictionary, AtomicReaderContext)

    Declaration
    public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
    Parameters
    Type Name Description
    IDictionary context
    AtomicReaderContext readerContext
    Returns
    Type Description
    FunctionValues
    Overrides
    ValueSource.GetValues(IDictionary, AtomicReaderContext)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)