Interface Hit.Builder

    • Method Detail

      • id

        Hit.Builder id​(String id)

        The document ID of a document that matches the search request.

        Parameters:
        id - The document ID of a document that matches the search request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fields

        Hit.Builder fields​(Map<String,​? extends Collection<String>> fields)

        The fields returned from a document that matches the search request.

        Parameters:
        fields - The fields returned from a document that matches the search request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exprs

        Hit.Builder exprs​(Map<String,​String> exprs)

        The expressions returned from a document that matches the search request.

        Parameters:
        exprs - The expressions returned from a document that matches the search request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • highlights

        Hit.Builder highlights​(Map<String,​String> highlights)

        The highlights returned from a document that matches the search request.

        Parameters:
        highlights - The highlights returned from a document that matches the search request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.