Skip to content

Commit a5acf63

Browse files
Merge pull request #7434 from HeidiSteen/heidist-port-pr
ported normalizer example from REST API docs
2 parents 42e8989 + ac6a97b commit a5acf63

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

articles/search/search-normalizers.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: azure-ai-search
99
ms.custom:
1010
- ignite-2023
1111
ms.topic: how-to
12-
ms.date: 09/28/2025
12+
ms.date: 10/01/2025
1313
ms.update-cycle: 365-days
1414
---
1515

@@ -90,6 +90,40 @@ Azure AI Search provides built-in normalizers for common use-cases along with th
9090

9191
<sup>(1)</sup> Custom normalizers don't specify tokenizers since normalizers always produce a single token.
9292

93+
## Test a normalizer
94+
95+
You can use the [Test Analyzer (REST)](/rest/api/searchservice/indexes/analyze) to see how a normalizer processes an input.
96+
97+
**Request**
98+
99+
```http
100+
POST https://[search service name].search.windows.net/indexes/[index name]/analyze?api-version=[api-version]
101+
Content-Type: application/json
102+
api-key: [admin key]
103+
104+
{
105+
"normalizer":"asciifolding",
106+
"text": "Vis-à-vis means Opposite"
107+
}
108+
```
109+
110+
**Response**
111+
112+
```http
113+
HTTP/1.1 200 OK
114+
115+
{
116+
"tokens": [
117+
{
118+
"token": "Vis-a-vis means Opposite",
119+
"startOffset": 0,
120+
"endOffset": 24,
121+
"position": 0
122+
}
123+
]
124+
}
125+
```
126+
93127
## Normalizers reference
94128

95129
### Predefined normalizers

0 commit comments

Comments
 (0)