Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
org.apache.lucene.analysis.tokenattributes |
Useful
Attribute s for text analysis. |
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Token |
A Token is an occurrence of a term from the text of a field.
|
Modifier and Type | Method | Description |
---|---|---|
AttributeImpl |
Token.TokenAttributeFactory.createAttributeInstance(Class<? extends Attribute> attClass) |
Modifier and Type | Method | Description |
---|---|---|
void |
Token.copyTo(AttributeImpl target) |
Modifier and Type | Class | Description |
---|---|---|
class |
CharTermAttributeImpl |
The term text of a Token.
|
class |
FlagsAttributeImpl |
This attribute can be used to pass different flags down the tokenizer chain,
eg from one TokenFilter to another one.
|
class |
KeywordAttributeImpl |
This attribute can be used to mark a token as a keyword.
|
class |
OffsetAttributeImpl |
The start and end character offset of a Token.
|
class |
PayloadAttributeImpl |
The payload of a Token.
|
class |
PositionIncrementAttributeImpl |
The positionIncrement determines the position of this token
relative to the previous Token in a
TokenStream , used in phrase
searching. |
class |
PositionLengthAttributeImpl |
|
class |
TermAttributeImpl |
Deprecated.
This class is not used anymore.
|
class |
TypeAttributeImpl |
A Token's lexical type.
|
Modifier and Type | Method | Description |
---|---|---|
void |
CharTermAttributeImpl.copyTo(AttributeImpl target) |
|
void |
FlagsAttributeImpl.copyTo(AttributeImpl target) |
|
void |
KeywordAttributeImpl.copyTo(AttributeImpl target) |
|
void |
OffsetAttributeImpl.copyTo(AttributeImpl target) |
|
void |
PayloadAttributeImpl.copyTo(AttributeImpl target) |
|
void |
PositionIncrementAttributeImpl.copyTo(AttributeImpl target) |
|
void |
PositionLengthAttributeImpl.copyTo(AttributeImpl target) |
|
void |
TypeAttributeImpl.copyTo(AttributeImpl target) |
Modifier and Type | Method | Description |
---|---|---|
abstract AttributeImpl |
AttributeSource.AttributeFactory.createAttributeInstance(Class<? extends Attribute> attClass) |
returns an
AttributeImpl for the supplied Attribute interface class. |
Modifier and Type | Method | Description |
---|---|---|
Iterator<AttributeImpl> |
AttributeSource.getAttributeImplsIterator() |
Returns a new iterator that iterates all unique Attribute implementations.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AttributeSource.addAttributeImpl(AttributeImpl att) |
Expert: Adds a custom AttributeImpl instance with one or more Attribute interfaces.
|
abstract void |
AttributeImpl.copyTo(AttributeImpl target) |
Copies the values from this Attribute into the passed-in
target attribute.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.