Interface ExactResponseFields.Builder

    • Method Detail

      • questionField

        ExactResponseFields.Builder questionField​(String questionField)

        The name of the field that contains the query made to the OpenSearch Service database.

        Parameters:
        questionField - The name of the field that contains the query made to the OpenSearch Service database.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • answerField

        ExactResponseFields.Builder answerField​(String answerField)

        The name of the field that contains the answer to the query made to the OpenSearch Service database.

        Parameters:
        answerField - The name of the field that contains the answer to the query made to the OpenSearch Service database.
        Returns:
        Returns a reference to this object so that method calls can be chained together.