QueryInterpretationOptions
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"disableNlInterpretation": boolean,
"enableVerbatimMode": boolean,
"disableSupplementalResults": boolean
} |
字段 |
disableNlInterpretation |
boolean
用于停用对查询的自然语言 (NL) 解释的标志。默认值为 false,设置为 true 可停用自然语言解读。荷兰语解读仅适用于预定义的数据源。
|
enableVerbatimMode |
boolean
启用此标志可关闭所有内部优化,例如对查询进行自然语言 (NL) 解读、检索补充结果以及使用同义词(包括自定义同义词)。如果这两个标志中的任一标志为 true,则会停用 Nl 解释。
|
disableSupplementalResults |
boolean
使用此标志可停用查询的补充结果。如果将 SearchApplication 级别选择的补充结果设置设为 True,则该设置的优先级更高。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# QueryInterpretationOptions\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\noptions to interpret user query.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------|\n| ``` { \"disableNlInterpretation\": boolean, \"enableVerbatimMode\": boolean, \"disableSupplementalResults\": boolean } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `disableNlInterpretation` | `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. |\n| `enableVerbatimMode` | `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. |\n| `disableSupplementalResults` | `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. |"]]