Interface SuggestQueryResult.Builder

  • Method Details

    • queryId

      QueryId can be used to complete a follow up query through the SearchText API. The QueryId retains context from the original Suggest request such as filters, political view and language. See the SearchText API documentation for more details SearchText API docs.

      The fields QueryText, and QueryID are mutually exclusive.

      Parameters:
      queryId - QueryId can be used to complete a follow up query through the SearchText API. The QueryId retains context from the original Suggest request such as filters, political view and language. See the SearchText API documentation for more details SearchText API docs.

      The fields QueryText, and QueryID are mutually exclusive.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryType

      SuggestQueryResult.Builder queryType(String queryType)

      The query type. Category queries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.

      Parameters:
      queryType - The query type. Category queries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryType

      SuggestQueryResult.Builder queryType(QueryType queryType)

      The query type. Category queries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.

      Parameters:
      queryType - The query type. Category queries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: