Class DefaultHighlightParams

    • Constructor Detail

      • DefaultHighlightParams

        public DefaultHighlightParams​(SearchQuery query)
        Constructs a parameter object used for highlighting
        Parameters:
        query - the query used to highlight query terms in the search result
      • DefaultHighlightParams

        public DefaultHighlightParams​(String encoder,
                                      SearchQuery query)
        Constructs a parameter object used for highlighting
        Parameters:
        encoder - the encoder to use
        query - the query used to highlight query terms in the search result
        Since:
        5.10.5