Package | Description |
---|---|
org.apache.lucene.analysis |
Text analysis.
|
org.apache.lucene.analysis.tokenattributes |
General-purpose attributes for text analysis.
|
org.apache.lucene.collation.tokenattributes |
Custom
AttributeImpl for indexing collation keys as index terms. |
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
LegacyNumericTokenStream.LegacyNumericTermAttributeImpl
Deprecated.
Implementation of
LegacyNumericTokenStream.LegacyNumericTermAttribute . |
class |
Token
Deprecated.
This class is outdated and no longer used since Lucene 2.9. Nuke it finally!
|
Modifier and Type | Method and Description |
---|---|
AttributeImpl |
LegacyNumericTokenStream.NumericAttributeFactory.createAttributeInstance(java.lang.Class<? extends Attribute> attClass) |
Modifier and Type | Method and Description |
---|---|
void |
LegacyNumericTokenStream.LegacyNumericTermAttributeImpl.copyTo(AttributeImpl target) |
void |
Token.copyTo(AttributeImpl target)
Deprecated.
|
private void |
Token.copyToWithoutPayloadClone(AttributeImpl target)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
BytesTermAttributeImpl
Implementation class for
BytesTermAttribute . |
class |
CharTermAttributeImpl
Default implementation of
CharTermAttribute . |
class |
FlagsAttributeImpl
Default implementation of
FlagsAttribute . |
class |
KeywordAttributeImpl
Default implementation of
KeywordAttribute . |
class |
OffsetAttributeImpl
Default implementation of
OffsetAttribute . |
class |
PackedTokenAttributeImpl
Default implementation of the common attributes used by Lucene:
CharTermAttribute
TypeAttribute
PositionIncrementAttribute
PositionLengthAttribute
OffsetAttribute
|
class |
PayloadAttributeImpl
Default implementation of
PayloadAttribute . |
class |
PositionIncrementAttributeImpl
Default implementation of
PositionIncrementAttribute . |
class |
PositionLengthAttributeImpl
Default implementation of
PositionLengthAttribute . |
class |
TypeAttributeImpl
Default implementation of
TypeAttribute . |
Modifier and Type | Method and Description |
---|---|
AttributeImpl |
BytesTermAttributeImpl.clone() |
Modifier and Type | Method and Description |
---|---|
void |
BytesTermAttributeImpl.copyTo(AttributeImpl target) |
void |
CharTermAttributeImpl.copyTo(AttributeImpl target) |
void |
FlagsAttributeImpl.copyTo(AttributeImpl target) |
void |
KeywordAttributeImpl.copyTo(AttributeImpl target) |
void |
OffsetAttributeImpl.copyTo(AttributeImpl target) |
void |
PackedTokenAttributeImpl.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 | Class and Description |
---|---|
class |
CollatedTermAttributeImpl
Extension of
CharTermAttributeImpl that encodes the term
text as a binary Unicode collation key instead of as UTF-8 bytes. |
Modifier and Type | Class and Description |
---|---|
class |
BoostAttributeImpl
Implementation class for
BoostAttribute . |
static class |
FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
Stores compiled automata as a list (indexed by edit distance)
|
class |
MaxNonCompetitiveBoostAttributeImpl
Implementation class for
MaxNonCompetitiveBoostAttribute . |
Modifier and Type | Method and Description |
---|---|
void |
BoostAttributeImpl.copyTo(AttributeImpl target) |
void |
FuzzyTermsEnum.LevenshteinAutomataAttributeImpl.copyTo(AttributeImpl target) |
void |
MaxNonCompetitiveBoostAttributeImpl.copyTo(AttributeImpl target) |
Modifier and Type | Class and Description |
---|---|
static class |
AttributeFactory.StaticImplementationAttributeFactory<A extends AttributeImpl>
Expert: AttributeFactory returning an instance of the given
clazz for the
attributes it implements. |
Modifier and Type | Field and Description |
---|---|
(package private) AttributeImpl |
AttributeSource.State.attribute |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Class<? extends AttributeImpl>,AttributeImpl> |
AttributeSource.attributeImpls |
private java.util.Map<java.lang.Class<? extends AttributeImpl>,AttributeImpl> |
AttributeSource.attributeImpls |
private java.util.Map<java.lang.Class<? extends Attribute>,AttributeImpl> |
AttributeSource.attributes |
Modifier and Type | Method and Description |
---|---|
static <A extends AttributeImpl> |
AttributeFactory.getStaticImplementation(AttributeFactory delegate,
java.lang.Class<A> clazz)
Returns an AttributeFactory returning an instance of the given
clazz for the
attributes it implements. |
Modifier and Type | Method and Description |
---|---|
AttributeImpl |
AttributeImpl.clone()
In most cases the clone is, and should be, deep in order to be able to
properly capture the state of all attributes.
|
abstract AttributeImpl |
AttributeFactory.createAttributeInstance(java.lang.Class<? extends Attribute> attClass)
Returns an
AttributeImpl for the supplied Attribute interface class. |
AttributeImpl |
AttributeFactory.DefaultAttributeFactory.createAttributeInstance(java.lang.Class<? extends Attribute> attClass) |
AttributeImpl |
AttributeFactory.StaticImplementationAttributeFactory.createAttributeInstance(java.lang.Class<? extends Attribute> attClass) |
Modifier and Type | Method and Description |
---|---|
private java.lang.Class<? extends AttributeImpl> |
AttributeFactory.DefaultAttributeFactory.findImplClass(java.lang.Class<? extends Attribute> attClass) |
java.util.Iterator<AttributeImpl> |
AttributeSource.getAttributeImplsIterator()
Returns a new iterator that iterates all unique Attribute implementations.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.invoke.MethodHandle |
AttributeFactory.findAttributeImplCtor(java.lang.Class<? extends AttributeImpl> clazz)
Returns a correctly typed
MethodHandle for the no-arg ctor of the given class. |
(package private) static java.lang.Class<? extends Attribute>[] |
AttributeSource.getAttributeInterfaces(java.lang.Class<? extends AttributeImpl> clazz) |