Interface HighlightingExcerptProvider

    • Method Detail

      • highlight

        String highlight​(String text)
                  throws IOException
        Highlights the matching terms in the passed text.
        Parameters:
        text - the input text.
        Returns:
        the highlighted text.
        Throws:
        IOException - if an error occurs while highlighting the text.