View Source GoogleApi.CloudSearch.V1.Model.RewrittenQueries (google_api_cloud_search v0.22.0)

The rewritten queries returned by Apps Search Query Understanding service.

Attributes

  • rewrittenQueries (type: list(GoogleApi.CloudSearch.V1.Model.RewrittenQuery.t), default: nil) -
  • selectedQueryIndex (type: integer(), default: nil) - The index of the selected query in rewritten_queries that is used by QAPI to call CSSR to get search results. If none of the queries were used (i.e. they all give empty search results), selected_query_index would default to -1.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.RewrittenQueries{
  rewrittenQueries: [GoogleApi.CloudSearch.V1.Model.RewrittenQuery.t()] | nil,
  selectedQueryIndex: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.