Skip to content

Commit 0868517

Browse files
authored
Fix CustomAnalyzer (#2783)
1 parent 73602db commit 0868517

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specification/_types/analysis/analyzers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import { KuromojiAnalyzer } from './kuromoji-plugin'
2727

2828
export class CustomAnalyzer {
2929
type: 'custom'
30-
char_filter?: string[]
31-
filter?: string[]
30+
char_filter?: string | string[]
31+
filter?: string | string[]
3232
position_increment_gap?: integer
3333
position_offset_gap?: integer
3434
tokenizer: string

0 commit comments

Comments
 (0)