Class ScoreOrderFragmentsBuilder
An implementation of FragmentsBuilder that outputs score-order fragments.
Implements
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.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class ScoreOrderFragmentsBuilder : BaseFragmentsBuilder, IFragmentsBuilder
Constructors
| Improve this Doc View SourceScoreOrderFragmentsBuilder()
a constructor.
Declaration
public ScoreOrderFragmentsBuilder()
ScoreOrderFragmentsBuilder(IBoundaryScanner)
Declaration
public ScoreOrderFragmentsBuilder(IBoundaryScanner bs)
Parameters
Type | Name | Description |
---|---|---|
IBoundaryScanner | bs |
ScoreOrderFragmentsBuilder(String[], String[])
a constructor.
Declaration
public ScoreOrderFragmentsBuilder(string[] preTags, string[] postTags)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | preTags | array of pre-tags for markup terms. |
System.String[] | postTags | array of post-tags for markup terms. |
ScoreOrderFragmentsBuilder(String[], String[], IBoundaryScanner)
Declaration
public ScoreOrderFragmentsBuilder(string[] preTags, string[] postTags, IBoundaryScanner bs)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | preTags | |
System.String[] | postTags | |
IBoundaryScanner | bs |
Methods
| Improve this Doc View SourceGetWeightedFragInfoList(IList<FieldFragList.WeightedFragInfo>)
Sort by score the list of FieldFragList.WeightedFragInfo
Declaration
public override IList<FieldFragList.WeightedFragInfo> GetWeightedFragInfoList(IList<FieldFragList.WeightedFragInfo> src)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<FieldFragList.WeightedFragInfo> | src |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<FieldFragList.WeightedFragInfo> |