mirror of https://github.com/apache/lucene.git
LUCENE-8778: Add SPI name and documentation for the KoreanNumberFilterFactory
This commit is contained in:
parent
422cf14439
commit
2d4dea370a
|
@ -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<String, String> args) {
|
||||
super(args);
|
||||
if (!args.isEmpty()) {
|
||||
|
|
Loading…
Reference in New Issue