Uses of Class
org.apache.lucene.util.AttributeSource.AttributeFactory
-
Packages that use AttributeSource.AttributeFactory Package Description org.apache.lucene.analysis API and code to convert text into indexable/searchable tokens.org.apache.lucene.analysis.ar Analyzer for Arabic.org.apache.lucene.analysis.cjk Analyzer for Chinese, Japanese, and Korean, which indexes bigrams (overlapping groups of two adjacent Han characters).org.apache.lucene.analysis.cn Analyzer for Chinese, which indexes unigrams (individual chinese characters).org.apache.lucene.analysis.cn.smart Analyzer for Simplified Chinese, which indexes words.org.apache.lucene.analysis.in Analysis components for Indian languages.org.apache.lucene.analysis.ngram Character n-gram tokenizers and filters.org.apache.lucene.analysis.ru Analyzer for Russian.org.apache.lucene.analysis.standard Standards-based analyzers implemented with JFlex.org.apache.lucene.analysis.wikipedia Tokenizer that is aware of Wikipedia syntax.org.apache.lucene.util Some utility classes. -
-
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis
Subclasses of AttributeSource.AttributeFactory in org.apache.lucene.analysis Modifier and Type Class Description static class
Token.TokenAttributeFactory
Expert: Creates a TokenAttributeFactory returningToken
as instance for the basic attributes and for all other attributes calls the given delegate factory.Fields in org.apache.lucene.analysis declared as AttributeSource.AttributeFactory Modifier and Type Field Description static AttributeSource.AttributeFactory
Token. TOKEN_ATTRIBUTE_FACTORY
Convenience factory that returnsToken
as implementation for the basic attributes and return the default impl (with "Impl" appended) for all other attributes.Constructors in org.apache.lucene.analysis with parameters of type AttributeSource.AttributeFactory Constructor Description CharTokenizer(AttributeSource.AttributeFactory factory, Reader input)
Deprecated.CharTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Creates a newCharTokenizer
instanceKeywordTokenizer(AttributeSource.AttributeFactory factory, Reader input, int bufferSize)
LetterTokenizer(AttributeSource.AttributeFactory factory, Reader in)
Deprecated.LetterTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Construct a new LetterTokenizer using a givenAttributeSource.AttributeFactory
.LowerCaseTokenizer(AttributeSource.AttributeFactory factory, Reader in)
Deprecated.LowerCaseTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Construct a new LowerCaseTokenizer using a givenAttributeSource.AttributeFactory
.MockTokenizer(AttributeSource.AttributeFactory factory, Reader input, int pattern, boolean lowerCase, int maxTokenLength)
NumericTokenStream(AttributeSource.AttributeFactory factory, int precisionStep)
Expert: Creates a token stream for numeric values with the specifiedprecisionStep
using the givenAttributeSource.AttributeFactory
.TokenAttributeFactory(AttributeSource.AttributeFactory delegate)
Expert: Creates an AttributeFactory returningToken
as instance for the basic attributes and for all other attributes calls the given delegate factory.Tokenizer(AttributeSource.AttributeFactory factory)
Deprecated.useTokenizer(AttributeSource.AttributeFactory, Reader)
instead.Tokenizer(AttributeSource.AttributeFactory factory, Reader input)
Construct a token stream processing the given input using the given AttributeFactory.TokenStream(AttributeSource.AttributeFactory factory)
A TokenStream using the supplied AttributeFactory for creating newAttribute
instances.WhitespaceTokenizer(AttributeSource.AttributeFactory factory, Reader in)
Deprecated.WhitespaceTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Construct a new WhitespaceTokenizer using a givenAttributeSource.AttributeFactory
. -
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis.ar
Constructors in org.apache.lucene.analysis.ar with parameters of type AttributeSource.AttributeFactory Constructor Description ArabicLetterTokenizer(AttributeSource.AttributeFactory factory, Reader in)
Deprecated.ArabicLetterTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Deprecated.Construct a new ArabicLetterTokenizer using a givenAttributeSource.AttributeFactory
. -
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis.cjk
Constructors in org.apache.lucene.analysis.cjk with parameters of type AttributeSource.AttributeFactory Constructor Description CJKTokenizer(AttributeSource.AttributeFactory factory, Reader in)
Deprecated. -
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis.cn
Constructors in org.apache.lucene.analysis.cn with parameters of type AttributeSource.AttributeFactory Constructor Description ChineseTokenizer(AttributeSource.AttributeFactory factory, Reader in)
Deprecated. -
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis.cn.smart
Constructors in org.apache.lucene.analysis.cn.smart with parameters of type AttributeSource.AttributeFactory Constructor Description SentenceTokenizer(AttributeSource.AttributeFactory factory, Reader reader)
-
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis.in
Constructors in org.apache.lucene.analysis.in with parameters of type AttributeSource.AttributeFactory Constructor Description IndicTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Deprecated. -
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis.ngram
Constructors in org.apache.lucene.analysis.ngram with parameters of type AttributeSource.AttributeFactory Constructor Description EdgeNGramTokenizer(AttributeSource.AttributeFactory factory, Reader input, String sideLabel, int minGram, int maxGram)
Creates EdgeNGramTokenizer that can generate n-grams in the sizes of the given rangeEdgeNGramTokenizer(AttributeSource.AttributeFactory factory, Reader input, EdgeNGramTokenizer.Side side, int minGram, int maxGram)
Creates EdgeNGramTokenizer that can generate n-grams in the sizes of the given rangeNGramTokenizer(AttributeSource.AttributeFactory factory, Reader input, int minGram, int maxGram)
Creates NGramTokenizer with given min and max n-grams. -
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis.ru
Constructors in org.apache.lucene.analysis.ru with parameters of type AttributeSource.AttributeFactory Constructor Description RussianLetterTokenizer(AttributeSource.AttributeFactory factory, Reader in)
Deprecated.RussianLetterTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Deprecated.Construct a new RussianLetterTokenizer using a givenAttributeSource.AttributeFactory
. -
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis.standard
Constructors in org.apache.lucene.analysis.standard with parameters of type AttributeSource.AttributeFactory Constructor Description ClassicTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Creates a new ClassicTokenizer with a givenAttributeSource.AttributeFactory
StandardTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Creates a new StandardTokenizer with a givenAttributeSource.AttributeFactory
UAX29URLEmailTokenizer(AttributeSource.AttributeFactory factory, Reader input)
Deprecated.UAX29URLEmailTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Creates a new UAX29URLEmailTokenizer with a givenAttributeSource.AttributeFactory
-
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis.wikipedia
Constructors in org.apache.lucene.analysis.wikipedia with parameters of type AttributeSource.AttributeFactory Constructor Description WikipediaTokenizer(AttributeSource.AttributeFactory factory, Reader input, int tokenOutput, Set<String> untokenizedTypes)
Creates a new instance of theWikipediaTokenizer
. -
Uses of AttributeSource.AttributeFactory in org.apache.lucene.util
Fields in org.apache.lucene.util declared as AttributeSource.AttributeFactory Modifier and Type Field Description static AttributeSource.AttributeFactory
AttributeSource.AttributeFactory. DEFAULT_ATTRIBUTE_FACTORY
This is the default factory that createsAttributeImpl
s using the class name of the suppliedAttribute
interface class by appendingImpl
to it.Methods in org.apache.lucene.util that return AttributeSource.AttributeFactory Modifier and Type Method Description AttributeSource.AttributeFactory
AttributeSource. getAttributeFactory()
returns the used AttributeFactory.Constructors in org.apache.lucene.util with parameters of type AttributeSource.AttributeFactory Constructor Description AttributeSource(AttributeSource.AttributeFactory factory)
An AttributeSource using the suppliedAttributeSource.AttributeFactory
for creating newAttribute
instances.
-