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
    System.Object
    WeightedTerm
    WeightedSpanTerm
    Inherited Members
    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.Highlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class WeightedTerm

    Constructors

    | Improve this Doc View Source

    WeightedTerm(Single, String)

    Declaration
    public WeightedTerm(float weight, string term)
    Parameters
    Type Name Description
    System.Single weight
    System.String term

    Properties

    | Improve this Doc View Source

    Term

    the term value (stemmed)

    Declaration
    public virtual string Term { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Weight

    the Weight associated with this term

    Declaration
    public virtual float Weight { get; set; }
    Property Value
    Type Description
    System.Single
    • Improve this Doc
    • View Source
    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.