All Superinterfaces:
Buildable, CopyableBuilder<Hit.Builder,Hit>, SdkBuilder<Hit.Builder,Hit>, SdkPojo
Enclosing class:
Hit

public static interface Hit.Builder extends SdkPojo, CopyableBuilder<Hit.Builder,Hit>
  • Method Details

    • 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.