Uses of Interface
org.apache.lucene.util.Attribute
-
Packages that use Attribute Package Description org.apache.lucene.analysis API and code to convert text into indexable/searchable tokens.org.apache.lucene.analysis.icu.tokenattributes Additional ICU-specific Attributes for text analysis.org.apache.lucene.analysis.ja.tokenattributes Additional Kuromoji-specific Attributes for text analysis.org.apache.lucene.analysis.tokenattributes UsefulAttribute
s for text analysis.org.apache.lucene.facet.index.attributes Category attributes and their properties for indexingorg.apache.lucene.queryParser.core.config Contains the base classes used to configure the query processingorg.apache.lucene.queryParser.standard.config Standard Lucene Query Configurationorg.apache.lucene.util Some utility classes. -
-
Uses of Attribute in org.apache.lucene.analysis
Subinterfaces of Attribute in org.apache.lucene.analysis Modifier and Type Interface Description static interface
BaseTokenStreamTestCase.CheckClearAttributesAttribute
Attribute that records if it was cleared or not.Classes in org.apache.lucene.analysis that implement Attribute Modifier and Type Class Description static class
BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
Attribute that records if it was cleared or not.class
Token
A Token is an occurrence of a term from the text of a field.Method parameters in org.apache.lucene.analysis with type arguments of type Attribute Modifier and Type Method Description AttributeImpl
Token.TokenAttributeFactory. createAttributeInstance(Class<? extends Attribute> attClass)
-
Uses of Attribute in org.apache.lucene.analysis.icu.tokenattributes
Subinterfaces of Attribute in org.apache.lucene.analysis.icu.tokenattributes Modifier and Type Interface Description interface
ScriptAttribute
This attribute stores the UTR #24 script value for a token of text.Classes in org.apache.lucene.analysis.icu.tokenattributes that implement Attribute Modifier and Type Class Description class
ScriptAttributeImpl
Implementation ofScriptAttribute
that stores the script as an integer. -
Uses of Attribute in org.apache.lucene.analysis.ja.tokenattributes
Subinterfaces of Attribute in org.apache.lucene.analysis.ja.tokenattributes Modifier and Type Interface Description interface
BaseFormAttribute
Attribute forToken.getBaseForm()
.interface
InflectionAttribute
Attribute for Kuromoji inflection data.interface
PartOfSpeechAttribute
Attribute forToken.getPartOfSpeech()
.interface
ReadingAttribute
Attribute for Kuromoji reading dataClasses in org.apache.lucene.analysis.ja.tokenattributes that implement Attribute Modifier and Type Class Description class
BaseFormAttributeImpl
Attribute forToken.getBaseForm()
.class
InflectionAttributeImpl
Attribute for Kuromoji inflection data.class
PartOfSpeechAttributeImpl
Attribute forToken.getPartOfSpeech()
.class
ReadingAttributeImpl
Attribute for Kuromoji reading data -
Uses of Attribute in org.apache.lucene.analysis.tokenattributes
Subinterfaces of Attribute in org.apache.lucene.analysis.tokenattributes Modifier and Type Interface Description interface
CharTermAttribute
The term text of a Token.interface
FlagsAttribute
This attribute can be used to pass different flags down theTokenizer
chain, eg from one TokenFilter to another one.interface
KeywordAttribute
This attribute can be used to mark a token as a keyword.interface
OffsetAttribute
The start and end character offset of a Token.interface
PayloadAttribute
The payload of a Token.interface
PositionIncrementAttribute
The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.interface
PositionLengthAttribute
The positionLength determines how many positions this token spans.interface
TermAttribute
Deprecated.UseCharTermAttribute
instead.interface
TypeAttribute
A Token's lexical type.Classes in org.apache.lucene.analysis.tokenattributes that implement Attribute 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 aTokenStream
, used in phrase searching.class
PositionLengthAttributeImpl
class
TermAttributeImpl
Deprecated.This class is not used anymore.class
TypeAttributeImpl
A Token's lexical type. -
Uses of Attribute in org.apache.lucene.facet.index.attributes
Subinterfaces of Attribute in org.apache.lucene.facet.index.attributes Modifier and Type Interface Description interface
CategoryAttribute
An attribute which contains for a certain category theCategoryPath
and additional properties.Classes in org.apache.lucene.facet.index.attributes that implement Attribute Modifier and Type Class Description class
CategoryAttributeImpl
An implementation ofCategoryAttribute
. -
Uses of Attribute in org.apache.lucene.queryParser.core.config
Methods in org.apache.lucene.queryParser.core.config with type parameters of type Attribute Modifier and Type Method Description <A extends Attribute>
AAbstractQueryConfig. addAttribute(Class<A> attClass)
-
Uses of Attribute in org.apache.lucene.queryParser.standard.config
Subinterfaces of Attribute in org.apache.lucene.queryParser.standard.config Modifier and Type Interface Description interface
AllowLeadingWildcardAttribute
Deprecated.interface
AnalyzerAttribute
Deprecated.interface
BoostAttribute
Deprecated.interface
DateResolutionAttribute
Deprecated.interface
DefaultOperatorAttribute
Deprecated.interface
DefaultPhraseSlopAttribute
Deprecated.interface
FieldBoostMapAttribute
Deprecated.interface
FieldDateResolutionMapAttribute
Deprecated.interface
FuzzyAttribute
Deprecated.interface
LocaleAttribute
Deprecated.interface
LowercaseExpandedTermsAttribute
Deprecated.interface
MultiFieldAttribute
Deprecated.interface
MultiTermRewriteMethodAttribute
Deprecated.interface
PositionIncrementsAttribute
Deprecated.interface
RangeCollatorAttribute
Deprecated.Classes in org.apache.lucene.queryParser.standard.config that implement Attribute Modifier and Type Class Description class
AllowLeadingWildcardAttributeImpl
Deprecated.class
AnalyzerAttributeImpl
Deprecated.class
BoostAttributeImpl
Deprecated.class
DateResolutionAttributeImpl
Deprecated.class
DefaultOperatorAttributeImpl
Deprecated.class
DefaultPhraseSlopAttributeImpl
Deprecated.class
FieldBoostMapAttributeImpl
Deprecated.class
FieldDateResolutionMapAttributeImpl
Deprecated.class
FuzzyAttributeImpl
Deprecated.class
LocaleAttributeImpl
Deprecated.class
LowercaseExpandedTermsAttributeImpl
Deprecated.class
MultiFieldAttributeImpl
Deprecated.class
MultiTermRewriteMethodAttributeImpl
Deprecated.class
PositionIncrementsAttributeImpl
Deprecated.class
RangeCollatorAttributeImpl
Deprecated. -
Uses of Attribute in org.apache.lucene.util
Classes in org.apache.lucene.util that implement Attribute Modifier and Type Class Description class
AttributeImpl
Base class for Attributes that can be added to aAttributeSource
.Methods in org.apache.lucene.util with type parameters of type Attribute Modifier and Type Method Description <A extends Attribute>
AAttributeSource. addAttribute(Class<A> attClass)
The caller must pass in a Class<? extends Attribute> value.<A extends Attribute>
AAttributeSource. getAttribute(Class<A> attClass)
The caller must pass in a Class<? extends Attribute> value.Methods in org.apache.lucene.util that return types with arguments of type Attribute Modifier and Type Method Description Iterator<Class<? extends Attribute>>
AttributeSource. getAttributeClassesIterator()
Returns a new iterator that iterates the attribute classes in the same order they were added in.Method parameters in org.apache.lucene.util with type arguments of type Attribute Modifier and Type Method Description abstract AttributeImpl
AttributeSource.AttributeFactory. createAttributeInstance(Class<? extends Attribute> attClass)
returns anAttributeImpl
for the suppliedAttribute
interface class.boolean
AttributeSource. hasAttribute(Class<? extends Attribute> attClass)
The caller must pass in a Class<? extends Attribute> value.void
AttributeReflector. reflect(Class<? extends Attribute> attClass, String key, Object value)
This method gets called for every property in anAttributeImpl
/AttributeSource
passing the class name of theAttribute
, a key and the actual value.
-