View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec (google_api_discovery_engine v0.7.0)

The specification for query spell correction.

Attributes

  • mode (type: String.t, default: nil) - The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec{
    mode: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.