Uses of Interface
org.apache.lucene.util.Attribute

Packages that use Attribute
org.apache.lucene.analysis API and code to convert text into indexable/searchable tokens. 
org.apache.lucene.analysis.tokenattributes General-purpose attributes for text analysis. 
org.apache.lucene.codecs.pulsing Pulsing Codec: inlines low frequency terms' postings into terms dictionary. 
org.apache.lucene.search Code to search indices. 
org.apache.lucene.util Some utility classes. 
 

Uses of Attribute in org.apache.lucene.analysis
 

Subinterfaces of Attribute in org.apache.lucene.analysis
static interface NumericTokenStream.NumericTermAttribute
          Expert: Use this attribute to get the details of the currently generated token.
 

Classes in org.apache.lucene.analysis that implement Attribute
static class NumericTokenStream.NumericTermAttributeImpl
          Implementation of NumericTokenStream.NumericTermAttribute.
 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
 AttributeImpl Token.TokenAttributeFactory.createAttributeInstance(Class<? extends Attribute> attClass)
           
 

Uses of Attribute in org.apache.lucene.analysis.tokenattributes
 

Subinterfaces of Attribute in org.apache.lucene.analysis.tokenattributes
 interface CharTermAttribute
          The term text of a Token.
 interface FlagsAttribute
          This attribute can be used to pass different flags down the Tokenizer 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 represented as BytesRef.
 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 TermToBytesRefAttribute
          This attribute is requested by TermsHashPerField to index the contents.
 interface TypeAttribute
          A Token's lexical type.
 

Classes in org.apache.lucene.analysis.tokenattributes that implement Attribute
 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 represented as BytesRef.
 class PositionIncrementAttributeImpl
          The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.
 class PositionLengthAttributeImpl
          See PositionLengthAttribute.
 class TypeAttributeImpl
          A Token's lexical type.
 

Uses of Attribute in org.apache.lucene.codecs.pulsing
 

Subinterfaces of Attribute in org.apache.lucene.codecs.pulsing
static interface PulsingPostingsReader.PulsingEnumAttribute
          A per-docsenum attribute that stores additional reuse information so that pulsing enums can keep a reference to their wrapped enums, and vice versa.
 

Classes in org.apache.lucene.codecs.pulsing that implement Attribute
static class PulsingPostingsReader.PulsingEnumAttributeImpl
          Implementation of PulsingPostingsReader.PulsingEnumAttribute for reuse of wrapped postings readers underneath pulsing.
 

Uses of Attribute in org.apache.lucene.search
 

Subinterfaces of Attribute in org.apache.lucene.search
 interface BoostAttribute
          Add this Attribute to a TermsEnum returned by MultiTermQuery.getTermsEnum(Terms,AttributeSource) and update the boost on each returned term.
static interface FuzzyTermsEnum.LevenshteinAutomataAttribute
           
 interface MaxNonCompetitiveBoostAttribute
          Add this Attribute to a fresh AttributeSource before calling MultiTermQuery.getTermsEnum(Terms,AttributeSource).
 

Classes in org.apache.lucene.search that implement Attribute
 class BoostAttributeImpl
          Implementation class for BoostAttribute.
static class FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
           
 class MaxNonCompetitiveBoostAttributeImpl
          Implementation class for MaxNonCompetitiveBoostAttribute.
 

Uses of Attribute in org.apache.lucene.util
 

Classes in org.apache.lucene.util that implement Attribute
 class AttributeImpl
          Base class for Attributes that can be added to a AttributeSource.
 

Methods in org.apache.lucene.util with type parameters of type Attribute
<A extends Attribute>
A
AttributeSource.addAttribute(Class<A> attClass)
          The caller must pass in a Class<? extends Attribute> value.
<A extends Attribute>
A
AttributeSource.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
 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
abstract  AttributeImpl AttributeSource.AttributeFactory.createAttributeInstance(Class<? extends Attribute> attClass)
          returns an AttributeImpl for the supplied Attribute 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 an AttributeImpl/AttributeSource passing the class name of the Attribute, a key and the actual value.
 



Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.