Class WeightedTerm
Lightweight class to hold term and a Weight value used for scoring this term
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 SourceWeightedTerm(Single, String)
Declaration
public WeightedTerm(float weight, string term)
Parameters
Type | Name | Description |
---|---|---|
System.Single | weight | |
System.String | term |
Properties
| Improve this Doc View SourceTerm
the term value (stemmed)
Declaration
public virtual string Term { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Weight
the Weight associated with this term
Declaration
public virtual float Weight { get; set; }
Property Value
Type | Description |
---|---|
System.Single |