Skip to content

Commit 1e40dea

Browse files
committed
restore IDs
1 parent deb0e0d commit 1e40dea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

solutions/search/full-text/search-with-synonyms.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To use synonyms in {{es}}, you need to follow this workflow:
4343
2. **Configure analyzers** - Apply synonyms during text analysis
4444
3. **Test and apply** - Verify your configuration works correctly
4545

46-
## Step 1: Create synonym sets and rules
46+
## Step 1: Create synonym sets and rules [synonyms-store-synonyms]
4747

4848
You can create synonym sets and rules using several methods:
4949

@@ -92,14 +92,14 @@ To create a synonym set using the UI:
9292

9393
The UI supports the same synonym rule formats as the file-based approach. Changes made through the UI will automatically reload the associated analyzers.
9494

95-
### Method 2: REST API
95+
### Method 2: REST API [synonyms-store-synonyms-api]
9696

9797
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
9898
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.
9999

100100
Changes in your synonyms sets will automatically reload the associated analyzers.
101101

102-
### Method 3: File-based
102+
### Method 3: File-based [synonyms-store-synonyms-file]
103103

104104
You can store your synonyms set in a file.
105105

@@ -147,7 +147,7 @@ When a synonyms set is updated, search analyzers that use it need to be refreshe
147147

148148
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).
149149

150-
### Method 4: Inline
150+
### Method 4: Inline [synonyms-store-synonyms-inline]
151151

152152
You can test your synonyms by adding them directly inline in your token filter definition.
153153

0 commit comments

Comments
 (0)