Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
org.apache.lucene.analysis.tokenattributes | |
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
Token
A Token is an occurrence of a term from the text of a field.
|
Modifier and Type | Method and Description |
---|---|
void |
Token.copyTo(AttributeImpl target) |
Modifier and Type | Class and Description |
---|---|
class |
FlagsAttributeImpl
This attribute can be used to pass different flags down the tokenizer chain,
eg from one TokenFilter to another one.
|
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 |
TermAttributeImpl
The term text of a Token.
|
class |
TypeAttributeImpl
A Token's lexical type.
|
Modifier and Type | Method and Description |
---|---|
void |
TypeAttributeImpl.copyTo(AttributeImpl target) |
void |
FlagsAttributeImpl.copyTo(AttributeImpl target) |
void |
TermAttributeImpl.copyTo(AttributeImpl target) |
void |
OffsetAttributeImpl.copyTo(AttributeImpl target) |
void |
PayloadAttributeImpl.copyTo(AttributeImpl target) |
void |
PositionIncrementAttributeImpl.copyTo(AttributeImpl target) |
Modifier and Type | Method and Description |
---|---|
abstract AttributeImpl |
AttributeSource.AttributeFactory.createAttributeInstance(java.lang.Class attClass)
returns an
AttributeImpl for the supplied Attribute interface class. |
Modifier and Type | Method and Description |
---|---|
void |
AttributeSource.addAttributeImpl(AttributeImpl att)
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-2014 Apache Software Foundation. All Rights Reserved.