Class SearchV2Builder

    • Method Detail

      • withOptions

        public SearchV2Builder withOptions​(SearchOptions options)
        Set value for optional field.
        Parameters:
        options - Options for more targeted search results.
        Returns:
        this builder
      • withMatchFieldOptions

        public SearchV2Builder withMatchFieldOptions​(SearchMatchFieldOptions matchFieldOptions)
        Set value for optional field.
        Parameters:
        matchFieldOptions - Options for search results match fields.
        Returns:
        this builder
      • withIncludeHighlights

        public SearchV2Builder withIncludeHighlights​(java.lang.Boolean includeHighlights)
        Set value for optional field.

        If left unset or set to null, defaults to false.

        Parameters:
        includeHighlights - Deprecated and moved this option to SearchMatchFieldOptions. Defaults to false when set to null.
        Returns:
        this builder