Class SingleFragListBuilder
An implementation class of IFragListBuilder that generates one FieldFragList.WeightedFragInfo object. Typical use case of this class is that you can get an entire field contents by using both of this class and SimpleFragmentsBuilder.
FastVectorHighlighter h = new FastVectorHighlighter( true, true,
new SingleFragListBuilder(), new SimpleFragmentsBuilder() );
Inheritance
System.Object
SingleFragListBuilder
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 SingleFragListBuilder : IFragListBuilder
Methods
| Improve this Doc View SourceCreateFieldFragList(FieldPhraseList, Int32)
Declaration
public virtual FieldFragList CreateFieldFragList(FieldPhraseList fieldPhraseList, int fragCharSize)
Parameters
Type | Name | Description |
---|---|---|
FieldPhraseList | fieldPhraseList | |
System.Int32 | fragCharSize |
Returns
Type | Description |
---|---|
FieldFragList |