You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: solutions/search/full-text/search-with-synonyms.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ To use synonyms in {{es}}, you need to follow this workflow:
43
43
2.**Configure analyzers** - Apply synonyms during text analysis
44
44
3.**Test and apply** - Verify your configuration works correctly
45
45
46
-
## Step 1: Create synonym sets and rules
46
+
## Step 1: Create synonym sets and rules[synonyms-store-synonyms]
47
47
48
48
You can create synonym sets and rules using several methods:
49
49
@@ -92,14 +92,14 @@ To create a synonym set using the UI:
92
92
93
93
The UI supports the same synonym rule formats as the file-based approach. Changes made through the UI will automatically reload the associated analyzers.
94
94
95
-
### Method 2: REST API
95
+
### Method 2: REST API [synonyms-store-synonyms-api]
96
96
97
97
You can use the [synonyms APIs](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-synonyms) to manage synonyms sets. This is the most flexible approach, as it allows to dynamically define and modify synonyms sets. For examples of how to
98
98
create or update a synonym set with APIs, refer to the [Create or update synonyms set API examples](/solutions/search/full-text/search-with-synonyms.md) page.
99
99
100
100
Changes in your synonyms sets will automatically reload the associated analyzers.
@@ -147,7 +147,7 @@ When a synonyms set is updated, search analyzers that use it need to be refreshe
147
147
148
148
This manual syncing and reloading makes this approach less flexible than using the [synonyms API](../../../solutions/search/full-text/search-with-synonyms.md#synonyms-store-synonyms-api).
0 commit comments