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 © 2019 Licensed to the Apache Software Foundation (ASF)