Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class LMSimilarity.LMStats

    Stores the collection distribution of the current term.

    Inheritance
    System.Object
    Similarity.SimWeight
    BasicStats
    LMSimilarity.LMStats
    Inherited Members
    BasicStats.m_numberOfDocuments
    BasicStats.m_numberOfFieldTokens
    BasicStats.m_avgFieldLength
    BasicStats.m_docFreq
    BasicStats.m_totalTermFreq
    BasicStats.m_queryBoost
    BasicStats.m_topLevelBoost
    BasicStats.m_totalBoost
    BasicStats.NumberOfDocuments
    BasicStats.NumberOfFieldTokens
    BasicStats.AvgFieldLength
    BasicStats.DocFreq
    BasicStats.TotalTermFreq
    BasicStats.Field
    BasicStats.GetValueForNormalization()
    BasicStats.RawNormalizationValue()
    BasicStats.Normalize(Single, Single)
    BasicStats.TotalBoost
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Search.Similarities
    Assembly: Lucene.Net.dll
    Syntax
    public class LMStats : BasicStats

    Constructors

    | Improve this Doc View Source

    LMStats(String, Single)

    Creates LMSimilarity.LMStats for the provided field and query-time boost

    Declaration
    public LMStats(string field, float queryBoost)
    Parameters
    Type Name Description
    System.String field
    System.Single queryBoost

    Properties

    | Improve this Doc View Source

    CollectionProbability

    Returns the probability that the current term is generated by the collection.

    Declaration
    public float CollectionProbability { get; set; }
    Property Value
    Type Description
    System.Single
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.