Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MaxSingleFunction

    MaxSingleFunction returns the max of it's components.

    NOTE: This was MaxFloatFunction in Lucene
    Inheritance
    object
    ValueSource
    MultiSingleFunction
    MaxSingleFunction
    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(bool)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public class MaxSingleFunction : MultiSingleFunction

    Constructors

    MaxSingleFunction(ValueSource[])

    MaxSingleFunction returns the max of it's components.

    NOTE: This was MaxFloatFunction in Lucene
    Declaration
    public MaxSingleFunction(ValueSource[] sources)
    Parameters
    Type Name Description
    ValueSource[] sources

    Properties

    Name

    MaxSingleFunction returns the max of it's components.

    NOTE: This was MaxFloatFunction in Lucene
    Declaration
    protected override string Name { get; }
    Property Value
    Type Description
    string
    Overrides
    MultiSingleFunction.Name

    Methods

    Func(int, FunctionValues[])

    MaxSingleFunction returns the max of it's components.

    NOTE: This was MaxFloatFunction in Lucene
    Declaration
    protected override float Func(int doc, FunctionValues[] valsArr)
    Parameters
    Type Name Description
    int doc
    FunctionValues[] valsArr
    Returns
    Type Description
    float
    Overrides
    MultiSingleFunction.Func(int, FunctionValues[])
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.