Show / Hide Table of Contents

    Class DivSingleFunction

    Function to divide "a" by "b"

    NOTE: This was DivFloatFunction in Lucene

    Inheritance
    System.Object
    ValueSource
    DualSingleFunction
    DivSingleFunction
    Inherited Members
    DualSingleFunction.m_a
    DualSingleFunction.m_b
    DualSingleFunction.GetDescription()
    DualSingleFunction.GetValues(IDictionary, AtomicReaderContext)
    DualSingleFunction.CreateWeight(IDictionary, IndexSearcher)
    DualSingleFunction.GetHashCode()
    DualSingleFunction.Equals(Object)
    ValueSource.ToString()
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(Boolean)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public class DivSingleFunction : DualSingleFunction

    Constructors

    | Improve this Doc View Source

    DivSingleFunction(ValueSource, ValueSource)

    Declaration
    public DivSingleFunction(ValueSource a, ValueSource b)
    Parameters
    Type Name Description
    ValueSource a

    the numerator.

    ValueSource b

    the denominator.

    Properties

    | Improve this Doc View Source

    Name

    Declaration
    protected override string Name { get; }
    Property Value
    Type Description
    System.String
    Overrides
    DualSingleFunction.Name

    Methods

    | Improve this Doc View Source

    Func(Int32, FunctionValues, FunctionValues)

    Declaration
    protected override float Func(int doc, FunctionValues aVals, FunctionValues bVals)
    Parameters
    Type Name Description
    System.Int32 doc
    FunctionValues aVals
    FunctionValues bVals
    Returns
    Type Description
    System.Single
    Overrides
    DualSingleFunction.Func(Int32, FunctionValues, FunctionValues)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)