diff --git a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanNumberFilterFactory.java b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanNumberFilterFactory.java index f11442023f8..7cfe4a8055f 100644 --- a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanNumberFilterFactory.java +++ b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanNumberFilterFactory.java @@ -37,9 +37,13 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * It is important that punctuation is not discarded by the tokenizer so use * {@code discardPunctuation="false"} in your {@link KoreanTokenizerFactory}. * @since 8.2.0 + * @lucene.spi {@value #NAME} */ public class KoreanNumberFilterFactory extends TokenFilterFactory { + /** SPI name */ + public static final String NAME = "koreanNumber"; + public KoreanNumberFilterFactory(Map args) { super(args); if (!args.isEmpty()) {