Interface LuceneHighlighter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.lucene.search.highlight.Formatter getFormatter()
      Obtain a formatter for highlights.
      Map<String,​String> highlightDocument​(org.apache.lucene.document.Document document, org.apache.lucene.search.highlight.Highlighter highlighter, org.apache.lucene.analysis.Analyzer analyzer)
      Highlight a given Lucene document.
    • Method Detail

      • getFormatter

        org.apache.lucene.search.highlight.Formatter getFormatter()
        Obtain a formatter for highlights.
      • highlightDocument

        Map<String,​String> highlightDocument​(org.apache.lucene.document.Document document,
                                                   org.apache.lucene.search.highlight.Highlighter highlighter,
                                                   org.apache.lucene.analysis.Analyzer analyzer)
        Highlight a given Lucene document.