Skip to content

Commit 6b1736d

Browse files
committed
suggesters clean up
1 parent d12f537 commit 6b1736d

File tree

3 files changed

+8
-19
lines changed

3 files changed

+8
-19
lines changed

articles/search/includes/quickstarts/semantic-ranker-rest.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,7 @@ To update an index using the REST API, you must provide the entire schema, plus
9999
{ "name": "id", "type": "Edm.String", "searchable": false, "filterable": false, "retrievable": false, "stored": true, "sortable": false, "facetable": false },
100100
{ "name": "rid", "type": "Edm.String", "searchable": false, "filterable": false, "retrievable": false, "stored": true, "sortable": false, "facetable": false }],
101101
"scoringProfiles": [],
102-
"suggesters": [
103-
{
104-
"name": "sg",
105-
"searchMode": "analyzingInfixMatching",
106-
"sourceFields": ["Address/City", "Address/Country", "Rooms/Type", "Rooms/Tags"]
107-
}
108-
],
102+
"suggesters": [],
109103
"analyzers": [],
110104
"normalizers": [],
111105
"tokenizers": [],

articles/search/index-add-scoring-profiles.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,6 @@ The `boostGenre` profile uses weighted text fields, boosting matches found in al
340340
}
341341
]
342342
}
343-
],
344-
"suggesters": [
345-
{
346-
"name": "sg",
347-
"searchMode": "analyzingInfixMatching",
348-
"sourceFields": [ "albumTitle", "artistName" ]
349-
}
350-
]
343+
]
351344
}
352345
```

articles/search/index-add-suggesters.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: HeidiSteen
77
ms.author: heidist
88
ms.service: azure-ai-search
99
ms.topic: conceptual
10-
ms.date: 04/14/2025
10+
ms.date: 09/11/2025
1111
ms.update-cycle: 365-days
1212
ms.custom:
1313
- devx-track-csharp
@@ -72,11 +72,13 @@ Fields that use [custom analyzers](index-add-custom-analyzers.md) or [built-in a
7272
7373
## Create using the Azure portal
7474

75-
When using **Add Index** or the **Import data** wizard to create an index, you have the option of enabling a suggester:
75+
Using the Azure portal, you can specify a suggester in the index JSON definition. For syntax, see the REST example in the next section.
76+
77+
78+
79+
7680

77-
1. In the index definition, enter a name for the suggester.
7881

79-
1. In each field definition for new fields, select a checkbox in the **Suggester** column. A checkbox is available on string fields only.
8082

8183
As previously noted, analyzer choice impacts tokenization and prefixing. Consider the entire field definition when enabling suggesters.
8284

0 commit comments

Comments
 (0)