Interface SpellCorrectedQuery.Builder

    • Method Detail

      • suggestedQueryText

        SpellCorrectedQuery.Builder suggestedQueryText​(String suggestedQueryText)

        The query with the suggested spell corrections.

        Parameters:
        suggestedQueryText - The query with the suggested spell corrections.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • corrections

        SpellCorrectedQuery.Builder corrections​(Collection<Correction> corrections)

        The corrected misspelled word or words in a query.

        Parameters:
        corrections - The corrected misspelled word or words in a query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • corrections

        SpellCorrectedQuery.Builder corrections​(Correction... corrections)

        The corrected misspelled word or words in a query.

        Parameters:
        corrections - The corrected misspelled word or words in a query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.