Skip to content

Commit

Permalink
Updating details as per comments
Browse files Browse the repository at this point in the history
Signed-off-by: AntonEliatra <[email protected]>
  • Loading branch information
AntonEliatra committed Aug 6, 2024
1 parent b843f2e commit 5b5cf38
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions _analyzers/token-filters/cjk-width.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: default
title: CJK width
parent: Token filters
nav_order: 140
nav_order: 40
---

# CJK width token filter
Expand All @@ -24,10 +24,9 @@ The CJK Width token filter in OpenSearch normalizes Chinese, Japanese, and Korea
Normalized (Full-Width "Katakana"): カタカナ



## Example

Following is an example of how you can define an analyzer with the `cjk_width` filter:
The following example request creates a new index named `cjk_width_example_index` and defines an analyzer with the `cjk_width` filter:

```json
PUT /cjk_width_example_index
Expand All @@ -49,7 +48,7 @@ PUT /cjk_width_example_index

## Generated tokens

You can use the following command to examine the tokens being generated using the created analyzer:
Use the following request to examine the tokens generated using the created analyzer:

```json
POST /cjk_width_example_index/_analyze
Expand Down

0 comments on commit 5b5cf38

Please sign in to comment.