Show / Hide Table of Contents

    Class ProductSingleFunction

    ProductSingleFunction returns the product of it's components.

    NOTE: This was ProductFloatFunction in Lucene

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

    Constructors

    | Improve this Doc View Source

    ProductSingleFunction(ValueSource[])

    Declaration
    public ProductSingleFunction(ValueSource[] sources)
    Parameters
    Type Name Description
    ValueSource[] sources

    Properties

    | Improve this Doc View Source

    Name

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

    Methods

    | Improve this Doc View Source

    Func(Int32, FunctionValues[])

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