Show / Hide Table of Contents

    Class BasicModelBE

    Limiting form of the Bose-Einstein model. The formula used in Lucene differs slightly from the one in the original paper: F is increased by tfn+1 and N is increased by F

    @lucene.experimental

    NOTE: in some corner cases this model may give poor performance with Normalizations that return large values for tfn such as NormalizationH3. Consider using the geometric approximation (BasicModelG) instead, which provides the same relevance but with less practical problems.

    Inheritance
    System.Object
    BasicModel
    BasicModelBE
    Inherited Members
    BasicModel.Explain(BasicStats, Single)
    Namespace: Lucene.Net.Search.Similarities
    Assembly: Lucene.Net.dll
    Syntax
    public class BasicModelBE : BasicModel

    Constructors

    | Improve this Doc View Source

    BasicModelBE()

    Sole constructor: parameter-free

    Declaration
    public BasicModelBE()

    Methods

    | Improve this Doc View Source

    Score(BasicStats, Single)

    Declaration
    public override sealed float Score(BasicStats stats, float tfn)
    Parameters
    Type Name Description
    BasicStats stats
    System.Single tfn
    Returns
    Type Description
    System.Single
    Overrides
    BasicModel.Score(BasicStats, Single)
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    BasicModel.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)