MatchType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
此类型的条目将使用的匹配类型。这样可确保所有类型都采用相同的匹配方法,并允许对变体的匹配方式(即模糊与完全匹配)进行匹配。如果值为 UNSPECIFIED
,则默认为 EXACT_MATCH
。
枚举 |
UNSPECIFIED |
默认为 EXACT_MATCH 。 |
EXACT_MATCH |
查找同义词或名称的完全匹配项。 |
FUZZY_MATCH |
低于 EXACT_MATCH 。查找类似匹配和完全匹配。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis type utilizes a matching method to ensure consistency across all types, primarily for synonym matching.\u003c/p\u003e\n"],["\u003cp\u003eMatching defaults to \u003ccode\u003eEXACT_MATCH\u003c/code\u003e if unspecified, ensuring strict adherence to the provided synonym or name.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFUZZY_MATCH\u003c/code\u003e offers a more flexible approach, encompassing similar matches in addition to exact ones for broader synonym identification.\u003c/p\u003e\n"]]],["The document defines matching types for entries, ensuring consistent methods across types. `UNSPECIFIED` defaults to `EXACT_MATCH`. `EXACT_MATCH` seeks precise matches of synonyms or names. `FUZZY_MATCH` is less strict, finding both exact and similar matches. This system allows for variations in synonym matching, like choosing between fuzzy or exact comparisons.\n"],null,["# MatchType\n\nThe type of matching that entries in this type will use. This will ensure all of the types use the same matching method and allow variation of matching for synonym matching (i.e. fuzzy versus exact). If the value is `UNSPECIFIED` it will be defaulted to `EXACT_MATCH`.\n\n| Enums ||\n|---------------|--------------------------------------------------------------------------------|\n| `UNSPECIFIED` | Defaults to `EXACT_MATCH`. |\n| `EXACT_MATCH` | Looks for an exact match of the synonym or name. |\n| `FUZZY_MATCH` | Looser than `EXACT_MATCH`. Looks for similar matches as well as exact matches. |"]]