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.
|
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.core |
Basic, general-purpose analysis components.
|
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.path |
Analysis components for path-like strings such as filenames.
|
org.apache.lucene.analysis.pattern |
Set of components for pattern-based (regex) analysis.
|
org.apache.lucene.analysis.ru |
Analyzer for Russian.
|
org.apache.lucene.analysis.standard |
Fast, general-purpose grammar-based tokenizers.
|
org.apache.lucene.analysis.th |
Analyzer for Thai.
|
org.apache.lucene.analysis.util |
Utility functions for text analysis.
|
org.apache.lucene.analysis.wikipedia |
Tokenizer that is aware of Wikipedia syntax.
|
org.apache.lucene.collation |
Unicode collation support.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
Token.TokenAttributeFactory
Expert: Creates a TokenAttributeFactory returning
Token as instance for the basic attributes
and for all other attributes calls the given delegate factory. |
Modifier and Type | Field and Description |
---|---|
static AttributeSource.AttributeFactory |
Token.TOKEN_ATTRIBUTE_FACTORY
Convenience factory that returns
Token as implementation for the basic
attributes and return the default impl (with "Impl" appended) for all other
attributes. |
Constructor and Description |
---|
NumericTokenStream(AttributeSource.AttributeFactory factory,
int precisionStep)
Expert: Creates a token stream for numeric values with the specified
precisionStep using the given
AttributeSource.AttributeFactory . |
Token.TokenAttributeFactory(AttributeSource.AttributeFactory delegate)
Expert: Creates an AttributeFactory returning
Token as instance for the basic attributes
and for all other attributes calls the given delegate factory. |
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 new
Attribute instances. |
Modifier and Type | Method and Description |
---|---|
ArabicLetterTokenizer |
ArabicLetterTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input)
Deprecated.
|
Constructor and Description |
---|
ArabicLetterTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader in)
Deprecated.
Construct a new ArabicLetterTokenizer using a given
AttributeSource.AttributeFactory . |
Modifier and Type | Method and Description |
---|---|
CJKTokenizer |
CJKTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader in)
Deprecated.
|
Constructor and Description |
---|
CJKTokenizer(AttributeSource.AttributeFactory factory,
Reader in)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ChineseTokenizer |
ChineseTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader in)
Deprecated.
|
Constructor and Description |
---|
ChineseTokenizer(AttributeSource.AttributeFactory factory,
Reader in)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Tokenizer |
HMMChineseTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader reader) |
SentenceTokenizer |
SmartChineseSentenceTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input)
Deprecated.
|
Constructor and Description |
---|
HMMChineseTokenizer(AttributeSource.AttributeFactory factory,
Reader reader)
Creates a new HMMChineseTokenizer, supplying the AttributeFactory
|
SentenceTokenizer(AttributeSource.AttributeFactory factory,
Reader reader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LowerCaseTokenizer |
LowerCaseTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
KeywordTokenizer |
KeywordTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
LetterTokenizer |
LetterTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
WhitespaceTokenizer |
WhitespaceTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
Constructor and Description |
---|
KeywordTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
int bufferSize) |
LetterTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader in)
Construct a new LetterTokenizer using a given
AttributeSource.AttributeFactory . |
LowerCaseTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader in)
Construct a new LowerCaseTokenizer using a given
AttributeSource.AttributeFactory . |
WhitespaceTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader in)
Construct a new WhitespaceTokenizer using a given
AttributeSource.AttributeFactory . |
Constructor and Description |
---|
IndicTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Tokenizer |
NGramTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input)
|
Tokenizer |
EdgeNGramTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
Constructor and Description |
---|
EdgeNGramTokenizer(Version version,
AttributeSource.AttributeFactory factory,
Reader input,
int minGram,
int maxGram)
Creates EdgeNGramTokenizer that can generate n-grams in the sizes of the given range
|
Lucene43EdgeNGramTokenizer(Version version,
AttributeSource.AttributeFactory factory,
Reader input,
int minGram,
int maxGram)
Deprecated.
Creates EdgeNGramTokenizer that can generate n-grams in the sizes of the given range
|
Lucene43EdgeNGramTokenizer(Version version,
AttributeSource.AttributeFactory factory,
Reader input,
Lucene43EdgeNGramTokenizer.Side side,
int minGram,
int maxGram)
Deprecated.
|
Lucene43EdgeNGramTokenizer(Version version,
AttributeSource.AttributeFactory factory,
Reader input,
String sideLabel,
int minGram,
int maxGram)
Deprecated.
|
Lucene43NGramTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
int minGram,
int maxGram)
Deprecated.
Creates NGramTokenizer with given min and max n-grams.
|
NGramTokenizer(Version version,
AttributeSource.AttributeFactory factory,
Reader input,
int minGram,
int maxGram)
Creates NGramTokenizer with given min and max n-grams.
|
Modifier and Type | Method and Description |
---|---|
Tokenizer |
PathHierarchyTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
Constructor and Description |
---|
PathHierarchyTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
char delimiter,
char replacement,
int skip) |
PathHierarchyTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
int bufferSize,
char delimiter,
char replacement,
int skip) |
ReversePathHierarchyTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
char delimiter,
char replacement,
int skip) |
ReversePathHierarchyTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
int bufferSize,
char delimiter,
char replacement,
int skip) |
Modifier and Type | Method and Description |
---|---|
PatternTokenizer |
PatternTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader in)
Split the input using configured pattern
|
Constructor and Description |
---|
PatternTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
Pattern pattern,
int group)
creates a new PatternTokenizer returning tokens from group (-1 for split functionality)
|
Modifier and Type | Method and Description |
---|---|
RussianLetterTokenizer |
RussianLetterTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader in)
Deprecated.
|
Constructor and Description |
---|
RussianLetterTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader in)
Deprecated.
Construct a new RussianLetterTokenizer using a given
AttributeSource.AttributeFactory . |
Modifier and Type | Method and Description |
---|---|
UAX29URLEmailTokenizer |
UAX29URLEmailTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
StandardTokenizer |
StandardTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
ClassicTokenizer |
ClassicTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
Constructor and Description |
---|
ClassicTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Creates a new ClassicTokenizer with a given
AttributeSource.AttributeFactory |
StandardTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Creates a new StandardTokenizer with a given
AttributeSource.AttributeFactory |
UAX29URLEmailTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Creates a new UAX29URLEmailTokenizer with a given
AttributeSource.AttributeFactory |
Modifier and Type | Method and Description |
---|---|
Tokenizer |
ThaiTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader reader) |
Constructor and Description |
---|
ThaiTokenizer(AttributeSource.AttributeFactory factory,
Reader reader)
Creates a new ThaiTokenizer, supplying the AttributeFactory
|
Modifier and Type | Method and Description |
---|---|
abstract Tokenizer |
TokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input)
Creates a TokenStream of the specified input using the given AttributeFactory
|
Constructor and Description |
---|
CharTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Creates a new
CharTokenizer instance |
SegmentingTokenizerBase(AttributeSource.AttributeFactory factory,
Reader reader,
BreakIterator iterator)
Construct a new SegmenterBase, also supplying the AttributeFactory
|
Modifier and Type | Method and Description |
---|---|
WikipediaTokenizer |
WikipediaTokenizerFactory.create(AttributeSource.AttributeFactory factory,
Reader input) |
Constructor and Description |
---|
WikipediaTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
int tokenOutput,
Set<String> untokenizedTypes)
Creates a new instance of the
WikipediaTokenizer . |
Modifier and Type | Class and Description |
---|---|
class |
CollationAttributeFactory
Converts each token into its
CollationKey , and then
encodes the bytes as an index term. |
Constructor and Description |
---|
CollationAttributeFactory(AttributeSource.AttributeFactory delegate,
Collator collator)
Create a CollationAttributeFactory, using the supplied Attribute Factory
as the factory for all other attributes.
|
Modifier and Type | Field and Description |
---|---|
static AttributeSource.AttributeFactory |
AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
This is the default factory that creates
AttributeImpl s using the
class name of the supplied Attribute interface class by appending Impl to it. |
Modifier and Type | Method and Description |
---|---|
AttributeSource.AttributeFactory |
AttributeSource.getAttributeFactory()
returns the used AttributeFactory.
|
Constructor and Description |
---|
AttributeSource(AttributeSource.AttributeFactory factory)
An AttributeSource using the supplied
AttributeSource.AttributeFactory for creating new Attribute instances. |
Copyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.