Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Namespace Lucene.Net.Queries.Function

    Queries that compute score based upon a function

    Classes

    BoostedQuery

    Query that is boosted by a ValueSource

    FunctionQuery

    Returns a score for each document based on a ValueSource, often some function of the value of a field.

    Note: This API is experimental and may change in non backward-compatible ways in the future

    FunctionQuery.AllScorer

    FunctionQuery.FunctionWeight

    FunctionValues

    Represents field values as different types. Normally created via a ValueSource for a particular field and reader.

    FunctionValues.ValueFiller

    Abstraction of the logic required to fill the value of a specified doc into a reusable Lucene.Net.Util.Mutable.MutableValue. Implementations of FunctionValues are encouraged to define their own implementations of FunctionValues.ValueFiller if their value is not a System.Single.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    ValueSource

    Instantiates FunctionValues for a particular reader.

    Often used when creating a FunctionQuery.

    ValueSourceScorer

    Lucene.Net.Search.Scorer which returns the result of SingleVal(Int32) as the score for a document.

    • Improve this Doc
    Back to top Copyright © 2022 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.