Package org.apache.solr.analysis
Class MockTokenizerFactory
- java.lang.Object
-
- org.apache.lucene.analysis.AbstractAnalysisFactory
-
- org.apache.lucene.analysis.TokenizerFactory
-
- org.apache.solr.analysis.MockTokenizerFactory
-
public class MockTokenizerFactory extends org.apache.lucene.analysis.TokenizerFactory
Factory forMockTokenizer
for testing purposes.
-
-
Constructor Summary
Constructors Constructor Description MockTokenizerFactory()
Default ctor for compatibility with SPIMockTokenizerFactory(Map<String,String> args)
Creates a new MockTokenizerFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.tests.analysis.MockTokenizer
create(org.apache.lucene.util.AttributeFactory factory)
-
Methods inherited from class org.apache.lucene.analysis.TokenizerFactory
availableTokenizers, create, findSPIName, forName, lookupClass, reloadTokenizers
-
Methods inherited from class org.apache.lucene.analysis.AbstractAnalysisFactory
defaultCtorException, 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
-
-
-
-
Field Detail
-
NAME
public static final String NAME
SPI name- See Also:
- Constant Field Values
-
-