From 8c65fcf1cf9cac8064decf9ce07437da21f97e72 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Mon, 12 Aug 2024 12:25:58 +0200 Subject: [PATCH] Fix `CustomAnalyzer` --- specification/_types/analysis/analyzers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/_types/analysis/analyzers.ts b/specification/_types/analysis/analyzers.ts index 33cf6d7e92..77364725ce 100644 --- a/specification/_types/analysis/analyzers.ts +++ b/specification/_types/analysis/analyzers.ts @@ -27,8 +27,8 @@ import { KuromojiAnalyzer } from './kuromoji-plugin' export class CustomAnalyzer { type: 'custom' - char_filter?: string[] - filter?: string[] + char_filter?: string | string[] + filter?: string | string[] position_increment_gap?: integer position_offset_gap?: integer tokenizer: string