class Google::Apis::CloudsearchV1::QueryInterpretationOptions
Options to interpret user query.
Attributes
Flag to disable natural language (NL) interpretation of queries. Default is false, Set to true to disable natural language interpretation. NL interpretation only applies to predefined datasources. Corresponds to the JSON property `disableNlInterpretation` @return [Boolean]
Flag to disable natural language (NL) interpretation of queries. Default is false, Set to true to disable natural language interpretation. NL interpretation only applies to predefined datasources. Corresponds to the JSON property `disableNlInterpretation` @return [Boolean]
Use this flag to disable supplemental results for a query. Supplemental results setting chosen at SearchApplication
level will take precedence if set to True. Corresponds to the JSON property `disableSupplementalResults` @return [Boolean]
Use this flag to disable supplemental results for a query. Supplemental results setting chosen at SearchApplication
level will take precedence if set to True. Corresponds to the JSON property `disableSupplementalResults` @return [Boolean]
Enable this flag to turn off all internal optimizations like natural language ( NL) interpretation of queries, supplemental result retrieval, and usage of synonyms including custom ones. Nl interpretation will be disabled if either one of the two flags is true. Corresponds to the JSON property `enableVerbatimMode` @return [Boolean]
Enable this flag to turn off all internal optimizations like natural language ( NL) interpretation of queries, supplemental result retrieval, and usage of synonyms including custom ones. Nl interpretation will be disabled if either one of the two flags is true. Corresponds to the JSON property `enableVerbatimMode` @return [Boolean]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3374 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3379 def update!(**args) @disable_nl_interpretation = args[:disable_nl_interpretation] if args.key?(:disable_nl_interpretation) @disable_supplemental_results = args[:disable_supplemental_results] if args.key?(:disable_supplemental_results) @enable_verbatim_mode = args[:enable_verbatim_mode] if args.key?(:enable_verbatim_mode) end