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
    Namespace: Lucene.Net.Search.Highlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class WeightedTerm : object

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