class Google::Apis::CloudsearchV1::QueryInterpretationConfig

Default options to interpret user query.

Attributes

force_disable_supplemental_results[RW]

Set this flag to disable supplemental results retrieval, setting a flag here will not retrieve supplemental results for queries associated with a given search application. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for supplemental results. Corresponds to the JSON property `forceDisableSupplementalResults` @return [Boolean]

force_disable_supplemental_results?[RW]

Set this flag to disable supplemental results retrieval, setting a flag here will not retrieve supplemental results for queries associated with a given search application. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for supplemental results. Corresponds to the JSON property `forceDisableSupplementalResults` @return [Boolean]

force_verbatim_mode[RW]

Enable this flag to turn off all internal optimizations like natural language ( NL) interpretation of queries, supplemental results retrieval, and usage of synonyms including custom ones. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for verbatim mode. Corresponds to the JSON property `forceVerbatimMode` @return [Boolean]

force_verbatim_mode?[RW]

Enable this flag to turn off all internal optimizations like natural language ( NL) interpretation of queries, supplemental results retrieval, and usage of synonyms including custom ones. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for verbatim mode. Corresponds to the JSON property `forceVerbatimMode` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3334
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 3339
def update!(**args)
  @force_disable_supplemental_results = args[:force_disable_supplemental_results] if args.key?(:force_disable_supplemental_results)
  @force_verbatim_mode = args[:force_verbatim_mode] if args.key?(:force_verbatim_mode)
end