Interface RescoreResultItem.Builder

    • Method Detail

      • documentId

        RescoreResultItem.Builder documentId​(String documentId)

        The identifier of the document from the search service.

        Parameters:
        documentId - The identifier of the document from the search service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • score

        RescoreResultItem.Builder score​(Float score)

        The relevancy score or rank that Amazon Kendra Intelligent Ranking gives to the result.

        Parameters:
        score - The relevancy score or rank that Amazon Kendra Intelligent Ranking gives to the result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.