Interface RelevanceFeedback.Builder

    • Method Detail

      • resultId

        RelevanceFeedback.Builder resultId​(String resultId)

        The identifier of the search result that the user provided relevance feedback for.

        Parameters:
        resultId - The identifier of the search result that the user provided relevance feedback for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relevanceValue

        RelevanceFeedback.Builder relevanceValue​(String relevanceValue)

        Whether the document was relevant or not relevant to the search.

        Parameters:
        relevanceValue - Whether the document was relevant or not relevant to the search.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RelevanceType, RelevanceType
      • relevanceValue

        RelevanceFeedback.Builder relevanceValue​(RelevanceType relevanceValue)

        Whether the document was relevant or not relevant to the search.

        Parameters:
        relevanceValue - Whether the document was relevant or not relevant to the search.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RelevanceType, RelevanceType