reason property

String? reason
getter/setter pair

The reason for interpretation of the query.

This field will not be UNSPECIFIED if the interpretation type is not NONE. Possible string values are:

  • "UNSPECIFIED"
  • "QUERY_HAS_NATURAL_LANGUAGE_INTENT" : Natural language interpretation of the query is used to fetch the search results.
  • "NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY" : Query and document terms similarity is used to selectively broaden the query to retrieve additional search results since enough results were not found for the user query. Interpreted query will be empty for this case.

Implementation

core.String? reason;