Class SimpleFragmentsBuilder
A simple implementation of FragmentsBuilder.
Implements
Inherited Members
Namespace: Lucene.Net.Search.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class SimpleFragmentsBuilder : BaseFragmentsBuilder, IFragmentsBuilder
Constructors
| Improve this Doc View SourceSimpleFragmentsBuilder()
a constructor.
Declaration
public SimpleFragmentsBuilder()
SimpleFragmentsBuilder(IBoundaryScanner)
Declaration
public SimpleFragmentsBuilder(IBoundaryScanner bs)
Parameters
Type | Name | Description |
---|---|---|
IBoundary |
bs |
SimpleFragmentsBuilder(String[], String[])
a constructor.
Declaration
public SimpleFragmentsBuilder(string[] preTags, string[] postTags)
Parameters
Type | Name | Description |
---|---|---|
System. |
preTags | array of pre-tags for markup terms. |
System. |
postTags | array of post-tags for markup terms. |
SimpleFragmentsBuilder(String[], String[], IBoundaryScanner)
Declaration
public SimpleFragmentsBuilder(string[] preTags, string[] postTags, IBoundaryScanner bs)
Parameters
Type | Name | Description |
---|---|---|
System. |
preTags | |
System. |
postTags | |
IBoundary |
bs |
Methods
| Improve this Doc View SourceGetWeightedFragInfoList(IList<FieldFragList.WeightedFragInfo>)
do nothing. return the source list.
Declaration
public override IList<FieldFragList.WeightedFragInfo> GetWeightedFragInfoList(IList<FieldFragList.WeightedFragInfo> src)
Parameters
Type | Name | Description |
---|---|---|
IList<Field |
src |
Returns
Type | Description |
---|---|
IList<Field |