Skip to content

Commit 6a65486

Browse files
authored
Merge pull request #160 from weaviate/add-kagome-kr-tokenizer
Add support for the kagome_kr tokenizer
2 parents c83e6e7 + f22f113 commit 6a65486

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/collections/configure/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const tokenization = {
4343
FIELD: 'field' as const,
4444
TRIGRAM: 'trigram' as const,
4545
GSE: 'gse' as const,
46+
KAGOME_KR: 'kagome_kr' as const,
4647
};
4748

4849
const vectorDistances = {

src/openapi/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ export interface definitions {
518518
* @description Determines tokenization of the property as separate words or whole field. Optional. Applies to text and text[] data types. Allowed values are `word` (default; splits on any non-alphanumerical, lowercases), `lowercase` (splits on white spaces, lowercases), `whitespace` (splits on white spaces), `field` (trims). Not supported for remaining data types
519519
* @enum {string}
520520
*/
521-
tokenization?: 'word' | 'lowercase' | 'whitespace' | 'field' | 'trigram' | 'gse';
521+
tokenization?: 'word' | 'lowercase' | 'whitespace' | 'field' | 'trigram' | 'gse' | 'kagome_kr';
522522
/** @description The properties of the nested object(s). Applies to object and object[] data types. */
523523
nestedProperties?: definitions['NestedProperty'][];
524524
};

0 commit comments

Comments
 (0)