Class FieldFragList.WeightedFragInfo
List of term offsets + weight for a frag info
Implements
Inherited Members
Namespace: Lucene.Net.Search.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class FieldFragList.WeightedFragInfo : IFormattable
Constructors
WeightedFragInfo(int, int, IList<SubInfo>, float)
List of term offsets + weight for a frag info
Declaration
public WeightedFragInfo(int startOffset, int endOffset, IList<FieldFragList.WeightedFragInfo.SubInfo> subInfos, float totalBoost)
Parameters
Type | Name | Description |
---|---|---|
int | startOffset | |
int | endOffset | |
IList<FieldFragList.WeightedFragInfo.SubInfo> | subInfos | |
float | totalBoost |
Properties
EndOffset
List of term offsets + weight for a frag info
Declaration
public int EndOffset { get; }
Property Value
Type | Description |
---|---|
int |
StartOffset
List of term offsets + weight for a frag info
Declaration
public int StartOffset { get; }
Property Value
Type | Description |
---|---|
int |
SubInfos
List of term offsets + weight for a frag info
Declaration
public IList<FieldFragList.WeightedFragInfo.SubInfo> SubInfos { get; }
Property Value
Type | Description |
---|---|
IList<FieldFragList.WeightedFragInfo.SubInfo> |
TotalBoost
List of term offsets + weight for a frag info
Declaration
public float TotalBoost { get; }
Property Value
Type | Description |
---|---|
float |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |
Overrides
ToString(IFormatProvider)
List of term offsets + weight for a frag info
Declaration
public virtual string ToString(IFormatProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IFormatProvider | provider |
Returns
Type | Description |
---|---|
string |