Class SimpleFragmentsBuilder
A simple implementation of FragmentsBuilder.
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 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 |
---|---|---|
IBoundaryScanner | bs |
SimpleFragmentsBuilder(String[], String[])
a constructor.
Declaration
public SimpleFragmentsBuilder(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. |
SimpleFragmentsBuilder(String[], String[], IBoundaryScanner)
Declaration
public SimpleFragmentsBuilder(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>)
do nothing. return the source list.
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> |