Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class WeightedTerm

    Lightweight class to hold term and a Weight value used for scoring this term

    Inheritance
    object
    WeightedTerm
    WeightedSpanTerm
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Search.Highlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class WeightedTerm

    Constructors

    WeightedTerm(float, string)

    Lightweight class to hold term and a Weight value used for scoring this term

    Declaration
    public WeightedTerm(float weight, string term)
    Parameters
    Type Name Description
    float weight
    string term

    Properties

    Term

    the term value (stemmed)

    Declaration
    public virtual string Term { get; set; }
    Property Value
    Type Description
    string

    Weight

    the Weight associated with this term

    Declaration
    public virtual float Weight { get; set; }
    Property Value
    Type Description
    float
    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.