Show / Hide Table of Contents

    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
    IFragListBuilder
    Namespace: Lucene.Net.Search.VectorHighlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class SingleFragListBuilder : object, IFragListBuilder

    Methods

    | Improve this Doc View Source

    CreateFieldFragList(FieldPhraseList, Int32)

    Declaration
    public virtual FieldFragList CreateFieldFragList(FieldPhraseList fieldPhraseList, int fragCharSize)
    Parameters
    Type Name Description
    FieldPhraseList fieldPhraseList
    System.Int32 fragCharSize
    Returns
    Type Description
    FieldFragList

    Implements

    IFragListBuilder
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)