已知架构
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
除了自定义架构之外,我们还定义了以下众所周知的架构:
供您使用。
字典条目
_dictionaryEntry
类型的项可以具有以下属性:
属性 |
类型 |
说明 |
是否必需? |
_term |
string |
需要定义的术语。推荐值是不带连字符的字词或不带标点符号的短语。 |
必填 |
_synonym |
string (repeated) |
需要包含在与 _term 中定义的字符串匹配的查询中的替代术语。 |
必填 |
_onlyApplicableForAttachedSearchApplications |
boolean |
可让您按数据源和搜索应用对同义词进行分组。如需了解详情,请参阅定义特定于数据源的同义词。 |
可选 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Well-known schemas\n\nIn addition to custom schemas, the following well-known schemas are defined\nfor your use.\n\nDictionary Entries\n------------------\n\nItems of type `_dictionaryEntry` can have the following properties:\n\n| Property | Type | Description | Required? |\n|------------------------------------------------|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|\n| `_term` | string | The term to define. Recommended values are unhyphenated words or phrases without punctuation. | Required |\n| `_synonym` | string (repeated) | Alternate terms to be included in queries matching the string defined in `_term`. | Required |\n| `_onlyApplicableForAttachedSearchApplications` | boolean | Allows you to group synonyms by data source and search application. For further information, see [Define data source-specific synonyms](/workspace/cloud-search/docs/guides/synonyms#specific). | Optional |"]]