public final class KnownWordsTokenizerFactory extends TokenizerFactory implements ResourceLoaderAware
KnownWordsTokenizer
のファクトリクラス。<fieldType name="text_known" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="com.rondhuit.solr.analysis.KnownWordsTokenizerFactory" words="javaclasses.txt" ignoreCase="false"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.KeywordTokenizerFactory"/> </analyzer> </fieldType>
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
コンストラクタと説明 |
---|
KnownWordsTokenizerFactory(java.util.Map<java.lang.String,java.lang.String> args) |
修飾子とタイプ | メソッドと説明 |
---|---|
Tokenizer |
create(AttributeFactory factory) |
void |
inform(ResourceLoader loader) |
availableTokenizers, create, forName, lookupClass, reloadTokenizers
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 KnownWordsTokenizerFactory(java.util.Map<java.lang.String,java.lang.String> args)
public Tokenizer create(AttributeFactory factory)
create
クラス内 TokenizerFactory
public void inform(ResourceLoader loader) throws java.io.IOException
inform
インタフェース内 ResourceLoaderAware
java.io.IOException
Copyright © 2009-2018 RONDHUIT Co.,Ltd. All Rights Reserved.