Interface SuggestQueryResult.Builder

    • Method Detail

      • queryId

        SuggestQueryResult.Builder queryId​(String 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.

        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.
        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 qeuries 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 qeuries 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, QueryType
      • queryType

        SuggestQueryResult.Builder queryType​(QueryType queryType)

        The query type. Category qeuries 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 qeuries 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, QueryType