-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(opensearch serverless): analyzer (#537)
feat(oss): analyzer --------- Co-authored-by: Takehiro Suzuki <[email protected]> Co-authored-by: Alain Krok <[email protected]>
- Loading branch information
1 parent
e731700
commit b1205b8
Showing
14 changed files
with
712 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[@cdklabs/generative-ai-cdk-constructs](../README.md) / [opensearchserverless](../modules/opensearchserverless.md) / CharacterFilterType | ||
|
||
# Enumeration: CharacterFilterType | ||
|
||
[opensearchserverless](../modules/opensearchserverless.md).CharacterFilterType | ||
|
||
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
with the License. A copy of the License is located at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES | ||
OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions | ||
and limitations under the License. | ||
|
||
## Table of contents | ||
|
||
### Enumeration Members | ||
|
||
- [ICU\_NORMALIZER](opensearchserverless.CharacterFilterType.md#icu_normalizer) | ||
|
||
## Enumeration Members | ||
|
||
### ICU\_NORMALIZER | ||
|
||
• **ICU\_NORMALIZER** = ``"icu_normalizer"`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
[@cdklabs/generative-ai-cdk-constructs](../README.md) / [opensearchserverless](../modules/opensearchserverless.md) / TokenFilterType | ||
|
||
# Enumeration: TokenFilterType | ||
|
||
[opensearchserverless](../modules/opensearchserverless.md).TokenFilterType | ||
|
||
## Table of contents | ||
|
||
### Enumeration Members | ||
|
||
- [CJK\_WIDTH](opensearchserverless.TokenFilterType.md#cjk_width) | ||
- [ICU\_FOLDING](opensearchserverless.TokenFilterType.md#icu_folding) | ||
- [JA\_STOP](opensearchserverless.TokenFilterType.md#ja_stop) | ||
- [KUROMOJI\_BASEFORM](opensearchserverless.TokenFilterType.md#kuromoji_baseform) | ||
- [KUROMOJI\_PART\_OF\_SPEECH](opensearchserverless.TokenFilterType.md#kuromoji_part_of_speech) | ||
- [KUROMOJI\_STEMMER](opensearchserverless.TokenFilterType.md#kuromoji_stemmer) | ||
- [LOWERCASE](opensearchserverless.TokenFilterType.md#lowercase) | ||
|
||
## Enumeration Members | ||
|
||
### CJK\_WIDTH | ||
|
||
• **CJK\_WIDTH** = ``"cjk_width"`` | ||
|
||
___ | ||
|
||
### ICU\_FOLDING | ||
|
||
• **ICU\_FOLDING** = ``"icu_folding"`` | ||
|
||
___ | ||
|
||
### JA\_STOP | ||
|
||
• **JA\_STOP** = ``"ja_stop"`` | ||
|
||
___ | ||
|
||
### KUROMOJI\_BASEFORM | ||
|
||
• **KUROMOJI\_BASEFORM** = ``"kuromoji_baseform"`` | ||
|
||
___ | ||
|
||
### KUROMOJI\_PART\_OF\_SPEECH | ||
|
||
• **KUROMOJI\_PART\_OF\_SPEECH** = ``"kuromoji_part_of_speech"`` | ||
|
||
___ | ||
|
||
### KUROMOJI\_STEMMER | ||
|
||
• **KUROMOJI\_STEMMER** = ``"kuromoji_stemmer"`` | ||
|
||
___ | ||
|
||
### LOWERCASE | ||
|
||
• **LOWERCASE** = ``"lowercase"`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[@cdklabs/generative-ai-cdk-constructs](../README.md) / [opensearchserverless](../modules/opensearchserverless.md) / TokenizerType | ||
|
||
# Enumeration: TokenizerType | ||
|
||
[opensearchserverless](../modules/opensearchserverless.md).TokenizerType | ||
|
||
## Table of contents | ||
|
||
### Enumeration Members | ||
|
||
- [ICU\_TOKENIZER](opensearchserverless.TokenizerType.md#icu_tokenizer) | ||
- [KUROMOJI\_TOKENIZER](opensearchserverless.TokenizerType.md#kuromoji_tokenizer) | ||
|
||
## Enumeration Members | ||
|
||
### ICU\_TOKENIZER | ||
|
||
• **ICU\_TOKENIZER** = ``"icu_tokenizer"`` | ||
|
||
___ | ||
|
||
### KUROMOJI\_TOKENIZER | ||
|
||
• **KUROMOJI\_TOKENIZER** = ``"kuromoji_tokenizer"`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[@cdklabs/generative-ai-cdk-constructs](../README.md) / [opensearch\_vectorindex](../modules/opensearch_vectorindex.md) / Analyzer | ||
|
||
# Interface: Analyzer | ||
|
||
[opensearch\_vectorindex](../modules/opensearch_vectorindex.md).Analyzer | ||
|
||
Properties for the Analyzer. | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [characterFilters](opensearch_vectorindex.Analyzer.md#characterfilters) | ||
- [tokenFilters](opensearch_vectorindex.Analyzer.md#tokenfilters) | ||
- [tokenizer](opensearch_vectorindex.Analyzer.md#tokenizer) | ||
|
||
## Properties | ||
|
||
### characterFilters | ||
|
||
• `Readonly` **characterFilters**: [`ICU_NORMALIZER`](../enums/opensearchserverless.CharacterFilterType.md#icu_normalizer)[] | ||
|
||
The analyzers to use. | ||
|
||
___ | ||
|
||
### tokenFilters | ||
|
||
• `Readonly` **tokenFilters**: [`TokenFilterType`](../enums/opensearchserverless.TokenFilterType.md)[] | ||
|
||
The token filters to use. | ||
|
||
___ | ||
|
||
### tokenizer | ||
|
||
• `Readonly` **tokenizer**: [`TokenizerType`](../enums/opensearchserverless.TokenizerType.md) | ||
|
||
The tokenizer to use. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.