# 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
  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
  Description
  `final 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.
  `final 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.
  `final 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
  Modifier
  Constructor
  Description
  ``
  `FastVectorHighlighter(boolean phraseHighlight, boolean fieldMatch, FragListBuilder fragListBuilder, FragmentsBuilder fragmentsBuilder)`
  a constructor.