## Uses of Interface
org.apache.lucene.search.vectorhighlight.FragmentsBuilder

- Packages that use FragmentsBuilder
  Package | Description
  --- | ---
  org.apache.lucene.search.vectorhighlight | Another highlighter implementation based on term vectors.

- - ### Uses of FragmentsBuilder in org.apache.lucene.search.vectorhighlight

    Classes in org.apache.lucene.search.vectorhighlight that implement FragmentsBuilder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BaseFragmentsBuilder` Base FragmentsBuilder implementation that supports colored pre/post tags and multivalued fields.
    `class` | `ScoreOrderFragmentsBuilder` An implementation of FragmentsBuilder that outputs score-order fragments.
    `class` | `SimpleFragmentsBuilder` A simple implementation of FragmentsBuilder.

    Methods in org.apache.lucene.search.vectorhighlight with parameters of type FragmentsBuilder
    Modifier and Type | Method and Description
    --- | ---
    `String` | FastVectorHighlighter.`getBestFragment(FieldQuery fieldQuery, IndexReader reader, int docId, String fieldName, int fragCharSize, FragListBuilder fragListBuilder, FragmentsBuilder fragmentsBuilder, String[] preTags, String[] postTags, Encoder encoder)` return the best fragment.
    `String[]` | FastVectorHighlighter.`getBestFragments(FieldQuery fieldQuery, IndexReader reader, int docId, String fieldName, int fragCharSize, int maxNumFragments, FragListBuilder fragListBuilder, FragmentsBuilder fragmentsBuilder, String[] preTags, String[] postTags, Encoder encoder)` return the best fragments.
    `String[]` | FastVectorHighlighter.`getBestFragments(FieldQuery fieldQuery, IndexReader reader, int docId, String storedField, Set<String> matchedFields, int fragCharSize, int maxNumFragments, FragListBuilder fragListBuilder, FragmentsBuilder fragmentsBuilder, String[] preTags, String[] postTags, Encoder encoder)` Return the best fragments.

    Constructors in org.apache.lucene.search.vectorhighlight with parameters of type FragmentsBuilder
    Constructor and Description
    `FastVectorHighlighter(boolean phraseHighlight, boolean fieldMatch, FragListBuilder fragListBuilder, FragmentsBuilder fragmentsBuilder)` a constructor.

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.