QueryInterpretationOptions
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
オプションを使用してユーザーのクエリを解釈します。
JSON 表現 |
{
"disableNlInterpretation": boolean,
"enableVerbatimMode": boolean,
"disableSupplementalResults": boolean
} |
フィールド |
disableNlInterpretation |
boolean
クエリの自然言語(NL)解釈を無効にするフラグ。デフォルトは false です。自然言語解釈を無効にするには、true に設定します。NL 解釈は、事前定義されたデータソースにのみ適用されます。
|
enableVerbatimMode |
boolean
このフラグを有効にすると、クエリの自然言語(NL)解釈、補足結果の取得、カスタムを含む類義語の使用など、すべての内部最適化が無効になります。2 つのフラグのいずれかが true の場合、Nl 解釈は無効になります。
|
disableSupplementalResults |
boolean
このフラグは、クエリの補足結果を無効にするために使用します。SearchApplication レベルで選択された補足結果の設定が優先されます(true に設定されている場合)。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],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. |"]]