Skip to content

Commit

Permalink
Fix PhoneticTokenFilter (#2589)
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd authored May 29, 2024
1 parent bb080f9 commit 5fa8ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/_types/analysis/phonetic-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export enum PhoneticRuleType {
export class PhoneticTokenFilter extends TokenFilterBase {
type: 'phonetic'
encoder: PhoneticEncoder
languageset: PhoneticLanguage[]
languageset: PhoneticLanguage | PhoneticLanguage[]
max_code_len?: integer
name_type: PhoneticNameType
replace?: boolean
Expand Down

0 comments on commit 5fa8ede

Please sign in to comment.