Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
org.apache.lucene.analysis.standard |
Standards-based analyzers implemented with JFlex.
|
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 |
---|
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(AttributeSource.AttributeFactory factory,
Reader input)
Deprecated.
|
UAX29URLEmailTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Creates a new UAX29URLEmailTokenizer with a given
AttributeSource.AttributeFactory |
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. |