Interface HitHighlighterFactory

  • All Known Implementing Classes:

    public interface HitHighlighterFactory
    Creates a HitHighlighter which finds search hits in content based on a given Lucene query. Highlights those hits with a formatter.
    • Method Detail

      • create

        HitHighlighter create​(String queryString)
        Create a new highlighter that uses the default formatter, and HTML encoding.

        The output format for hit highlights is: Lorem ipsum <span class="search-highlight>dolor</span> sit amet