MatchType
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Typ dopasowania, którego będą używać wpisy tego typu. Dzięki temu wszystkie typy będą stosować tę samą metodę dopasowania i będą umożliwiały dopasowywanie dopasowania do synonimów (np. przybliżone i dokładne). Jeśli wartość to UNSPECIFIED
, domyślna wartość to EXACT_MATCH
.
Wartości w polu enum |
UNSPECIFIED |
Domyślna wartość to EXACT_MATCH . |
EXACT_MATCH |
Dopasowanie ścisłego synonimu lub nazwy. |
FUZZY_MATCH |
Luzem niż EXACT_MATCH . Wyszukuje dopasowania podobne i dokładne. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\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. |"]]