Uses of Interface
org.apache.lucene.util.Attribute
-
Packages that use Attribute Package Description 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.ko.tokenattributes Additional Korean-specific Attributes for text analysis.org.apache.lucene.analysis.miscellaneous Miscellaneous Tokenstreams.org.apache.lucene.analysis.tokenattributes General-purpose attributes for text analysis.org.apache.lucene.collation.tokenattributes CustomAttributeImplfor indexing collation keys as index terms.org.apache.lucene.search Code to search indices.org.apache.lucene.util Some utility classes. -
-
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 interfaceScriptAttributeThis 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 classScriptAttributeImplImplementation ofScriptAttributethat 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 interfaceBaseFormAttributeAttribute forToken.getBaseForm().interfaceInflectionAttributeAttribute for Kuromoji inflection data.interfacePartOfSpeechAttributeAttribute forToken.getPartOfSpeech().interfaceReadingAttributeAttribute for Kuromoji reading dataClasses in org.apache.lucene.analysis.ja.tokenattributes that implement Attribute Modifier and Type Class Description classBaseFormAttributeImplAttribute forToken.getBaseForm().classInflectionAttributeImplAttribute for Kuromoji inflection data.classPartOfSpeechAttributeImplAttribute forToken.getPartOfSpeech().classReadingAttributeImplAttribute for Kuromoji reading data -
Uses of Attribute in org.apache.lucene.analysis.ko.tokenattributes
Subinterfaces of Attribute in org.apache.lucene.analysis.ko.tokenattributes Modifier and Type Interface Description interfacePartOfSpeechAttributePart of Speech attributes for Korean.interfaceReadingAttributeAttribute for Korean reading dataClasses in org.apache.lucene.analysis.ko.tokenattributes that implement Attribute Modifier and Type Class Description classPartOfSpeechAttributeImplPart of Speech attributes for Korean.classReadingAttributeImplAttribute for Korean reading data -
Uses of Attribute in org.apache.lucene.analysis.miscellaneous
Subinterfaces of Attribute in org.apache.lucene.analysis.miscellaneous Modifier and Type Interface Description static interfaceConcatenateGraphFilter.BytesRefBuilderTermAttributeAttribute providing access to the term builder and UTF-16 conversionClasses in org.apache.lucene.analysis.miscellaneous that implement Attribute Modifier and Type Class Description static classConcatenateGraphFilter.BytesRefBuilderTermAttributeImplImplementation ofConcatenateGraphFilter.BytesRefBuilderTermAttribute -
Uses of Attribute in org.apache.lucene.analysis.tokenattributes
Subinterfaces of Attribute in org.apache.lucene.analysis.tokenattributes Modifier and Type Interface Description interfaceBytesTermAttributeThis attribute can be used if you have the raw term bytes to be indexed.interfaceCharTermAttributeThe term text of a Token.interfaceFlagsAttributeThis attribute can be used to pass different flags down theTokenizerchain, e.g.interfaceKeywordAttributeThis attribute can be used to mark a token as a keyword.interfaceOffsetAttributeThe start and end character offset of a Token.interfacePayloadAttributeThe payload of a Token.interfacePositionIncrementAttributeDetermines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.interfacePositionLengthAttributeDetermines how many positions this token spans.interfaceTermFrequencyAttributeSets the custom term frequency of a term within one document.interfaceTermToBytesRefAttributeThis attribute is requested by TermsHashPerField to index the contents.interfaceTypeAttributeA Token's lexical type. -
Uses of Attribute in org.apache.lucene.collation.tokenattributes
Classes in org.apache.lucene.collation.tokenattributes that implement Attribute Modifier and Type Class Description classCollatedTermAttributeImplExtension ofCharTermAttributeImplthat encodes the term text as a binary Unicode collation key instead of as UTF-8 bytes.classICUCollatedTermAttributeImplExtension ofCharTermAttributeImplthat encodes the term text as a binary Unicode collation key instead of as UTF-8 bytes. -
Uses of Attribute in org.apache.lucene.search
Subinterfaces of Attribute in org.apache.lucene.search Modifier and Type Interface Description interfaceBoostAttributeAdd thisAttributeto aTermsEnumreturned byMultiTermQuery.getTermsEnum(Terms,AttributeSource)and update the boost on each returned term.private static interfaceFuzzyTermsEnum.AutomatonAttributeUsed for sharing automata between segments Levenshtein automata are large and expensive to build; we don't want to build them directly on the query because this can blow up caches that use queries as keys; we also don't want to rebuild them for every segment.interfaceMaxNonCompetitiveBoostAttributeAdd thisAttributeto a freshAttributeSourcebefore callingMultiTermQuery.getTermsEnum(Terms,AttributeSource).Classes in org.apache.lucene.search that implement Attribute Modifier and Type Class Description classBoostAttributeImplImplementation class forBoostAttribute.private static classFuzzyTermsEnum.AutomatonAttributeImplclassMaxNonCompetitiveBoostAttributeImplImplementation class forMaxNonCompetitiveBoostAttribute. -
Uses of Attribute in org.apache.lucene.util
Classes in org.apache.lucene.util that implement Attribute Modifier and Type Class Description classAttributeImplBase class for Attributes that can be added to aAttributeSource.Fields in org.apache.lucene.util with type parameters of type Attribute Modifier and Type Field Description private java.util.Map<java.lang.Class<? extends Attribute>,AttributeImpl>AttributeSource. attributesMethods in org.apache.lucene.util with type parameters of type Attribute Modifier and Type Method Description <T extends Attribute>
TAttributeSource. addAttribute(java.lang.Class<T> attClass)The caller must pass in a Class<? extends Attribute> value.<T extends Attribute>
TAttributeSource. getAttribute(java.lang.Class<T> attClass)Returns the instance of the passed in Attribute contained in this AttributeSourceMethods in org.apache.lucene.util that return types with arguments of type Attribute Modifier and Type Method Description java.util.Iterator<java.lang.Class<? extends Attribute>>AttributeSource. getAttributeClassesIterator()Returns a new iterator that iterates the attribute classes in the same order they were added in.(package private) static java.lang.Class<? extends Attribute>[]AttributeSource. getAttributeInterfaces(java.lang.Class<? extends AttributeImpl> clazz)Method parameters in org.apache.lucene.util with type arguments of type Attribute Modifier and Type Method Description abstract AttributeImplAttributeFactory. createAttributeInstance(java.lang.Class<? extends Attribute> attClass)Returns anAttributeImplfor the suppliedAttributeinterface class.AttributeImplAttributeFactory.DefaultAttributeFactory. createAttributeInstance(java.lang.Class<? extends Attribute> attClass)AttributeImplAttributeFactory.StaticImplementationAttributeFactory. createAttributeInstance(java.lang.Class<? extends Attribute> attClass)private java.lang.Class<? extends AttributeImpl>AttributeFactory.DefaultAttributeFactory. findImplClass(java.lang.Class<? extends Attribute> attClass)booleanAttributeSource. hasAttribute(java.lang.Class<? extends Attribute> attClass)The caller must pass in a Class<? extends Attribute> value.voidAttributeReflector. reflect(java.lang.Class<? extends Attribute> attClass, java.lang.String key, java.lang.Object value)This method gets called for every property in anAttributeImpl/AttributeSourcepassing the class name of theAttribute, a key and the actual value.
-