## Uses of Class
org.apache.lucene.search.uhighlight.PhraseHelper

- Packages that use PhraseHelper
  Package | Description
  --- | ---
  org.apache.lucene.search.uhighlight | The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.

- - ### Uses of PhraseHelper in org.apache.lucene.search.uhighlight

    Fields in org.apache.lucene.search.uhighlight declared as PhraseHelper
    Modifier and Type | Field and Description
    --- | ---
    `static PhraseHelper` | PhraseHelper.`NONE`
    `protected PhraseHelper` | FieldOffsetStrategy.`phraseHelper`

    Methods in org.apache.lucene.search.uhighlight that return PhraseHelper
    Modifier and Type | Method and Description
    --- | ---
    `protected PhraseHelper` | UnifiedHighlighter.`getPhraseHelper(String field, Query query, Set<UnifiedHighlighter.HighlightFlag> highlightFlags)`

    Methods in org.apache.lucene.search.uhighlight with parameters of type PhraseHelper
    Modifier and Type | Method and Description
    --- | ---
    `protected FieldOffsetStrategy` | UnifiedHighlighter.`getOffsetStrategy(UnifiedHighlighter.OffsetSource offsetSource, String field, BytesRef[] terms, PhraseHelper phraseHelper, CharacterRunAutomaton[] automata, Set<UnifiedHighlighter.HighlightFlag> highlightFlags)`
    `protected UnifiedHighlighter.OffsetSource` | UnifiedHighlighter.`getOptimizedOffsetSource(String field, BytesRef[] terms, PhraseHelper phraseHelper, CharacterRunAutomaton[] automata)`

    Constructors in org.apache.lucene.search.uhighlight with parameters of type PhraseHelper
    Constructor and Description
    `AnalysisOffsetStrategy(String field, BytesRef[] queryTerms, PhraseHelper phraseHelper, CharacterRunAutomaton[] automata, Analyzer analyzer)`
    `FieldOffsetStrategy(String field, BytesRef[] queryTerms, PhraseHelper phraseHelper, CharacterRunAutomaton[] automata)`
    `MemoryIndexOffsetStrategy(String field, Predicate<String> fieldMatcher, BytesRef[] extractedTerms, PhraseHelper phraseHelper, CharacterRunAutomaton[] automata, Analyzer analyzer, Function<Query,Collection<Query>> multiTermQueryRewrite)`
    `PostingsOffsetStrategy(String field, BytesRef[] queryTerms, PhraseHelper phraseHelper, CharacterRunAutomaton[] automata)`
    `PostingsWithTermVectorsOffsetStrategy(String field, BytesRef[] queryTerms, PhraseHelper phraseHelper, CharacterRunAutomaton[] automata)`
    `TermVectorOffsetStrategy(String field, BytesRef[] queryTerms, PhraseHelper phraseHelper, CharacterRunAutomaton[] automata)`
    `TokenStreamOffsetStrategy(String field, BytesRef[] terms, PhraseHelper phraseHelper, CharacterRunAutomaton[] automata, Analyzer indexAnalyzer)`

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