public class WarekiCharFilterFactory extends CharFilterFactory
WarekiCharFilter
のファクトリクラス。検索時に和暦と西暦を相互ヒットさせることが可能。飛鳥時代(大化元年)から現代(令和)までをサポート。<fieldType name="wareki" class="solr.TextField" positionIncrementGap="100"> <analyzer> <charFilter class="solr.MappingCharFilterFactory" mapping="mapping-ja.txt"/> <charFilter class="com.rondhuit.solr.analysis.KanjiNumberCharFilterFactory"/> <charFilter class="com.rondhuit.solr.analysis.WarekiCharFilterFactory"/> <tokenizer class="solr.CJKTokenizerFactory"/> </analyzer> </fieldType>
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
コンストラクタと説明 |
---|
WarekiCharFilterFactory(java.util.Map<java.lang.String,java.lang.String> args) |
修飾子とタイプ | メソッドと説明 |
---|---|
java.io.Reader |
create(java.io.Reader input) |
availableCharFilters, forName, lookupClass, reloadCharFilters
get, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitAt, splitFileNames
public WarekiCharFilterFactory(java.util.Map<java.lang.String,java.lang.String> args)
public java.io.Reader create(java.io.Reader input)
create
クラス内 CharFilterFactory
Copyright © 2009-2018 RONDHUIT Co.,Ltd. All Rights Reserved.