## Uses of Class
org.apache.lucene.util.AttributeSource

Packages that use AttributeSource
org.apache.lucene.analysis: API and code to convert text into indexable/searchable tokens.
org.apache.lucene.index: Code to maintain and access indices.
org.apache.lucene.search: Code to search indices.
org.apache.lucene.util: Some utility classes.

Uses of AttributeSource in org.apache.lucene.analysis

Subclasses of AttributeSource in org.apache.lucene.analysis
`class` `CachingTokenFilter` This class can be used if the token attributes of a TokenStream are intended to be consumed more than once.
`class` `NumericTokenStream` Expert: This class provides a `TokenStream` for indexing numeric values that can be used by `NumericRangeQuery` or `NumericRangeFilter`.
`class` `TokenFilter` A TokenFilter is a TokenStream whose input is another TokenStream.
`class` `Tokenizer` A Tokenizer is a TokenStream whose input is a Reader.
`class` `TokenStream` A `TokenStream` enumerates the sequence of tokens, either from `Field`s of a `Document` or from query text.

Constructors in org.apache.lucene.analysis with parameters of type AttributeSource
`TokenStream(AttributeSource input)` A TokenStream that uses the same attributes as the supplied one.

Uses of AttributeSource in org.apache.lucene.index

Methods in org.apache.lucene.index that return AttributeSource
`AttributeSource` `TermsEnum.attributes()` Returns the related attributes.
`AttributeSource` `FilteredTermsEnum.attributes()` Returns the related attributes, the returned `AttributeSource` is shared with the delegate `TermsEnum`.
`AttributeSource` `FilterAtomicReader.FilterTermsEnum.attributes()`
`AttributeSource` `FilterAtomicReader.FilterDocsEnum.attributes()`
`AttributeSource` `FilterAtomicReader.FilterDocsAndPositionsEnum.attributes()`
`AttributeSource` `DocsEnum.attributes()` Returns the related attributes.
`AttributeSource` `FieldInvertState.getAttributeSource()` Returns the `AttributeSource` from the `TokenStream` that provided the indexed tokens for this field.

Uses of AttributeSource in org.apache.lucene.search

Methods in org.apache.lucene.search with parameters of type AttributeSource
`protected TermsEnum` `MultiTermQuery.RewriteMethod.getTermsEnum(MultiTermQuery query, Terms terms, AttributeSource atts)` Returns the `MultiTermQuery`s `TermsEnum`
`protected TermsEnum` `TermRangeQuery.getTermsEnum(Terms terms, AttributeSource atts)`
`protected TermsEnum` `PrefixQuery.getTermsEnum(Terms terms, AttributeSource atts)`
`protected TermsEnum` `NumericRangeQuery.getTermsEnum(Terms terms, AttributeSource atts)`
`protected abstract TermsEnum` `MultiTermQuery.getTermsEnum(Terms terms, AttributeSource atts)` Construct the enumeration to be used, expanding the pattern term.
`protected TermsEnum` `FuzzyQuery.getTermsEnum(Terms terms, AttributeSource atts)`
`protected TermsEnum` `AutomatonQuery.getTermsEnum(Terms terms, AttributeSource atts)`

Constructors in org.apache.lucene.search with parameters of type AttributeSource
`FuzzyTermsEnum(Terms terms, AttributeSource atts, Term term, float minSimilarity, int prefixLength, boolean transpositions)` Constructor for enumeration of all terms from specified `reader` which share a prefix of length `prefixLength` with `term` and which have a fuzzy similarity > `minSimilarity`.

Uses of AttributeSource in org.apache.lucene.util

Methods in org.apache.lucene.util that return AttributeSource
`AttributeSource` `AttributeSource.cloneAttributes()` Performs a clone of all `AttributeImpl` instances returned in a new `AttributeSource` instance.

Methods in org.apache.lucene.util with parameters of type AttributeSource
`void` `AttributeSource.copyTo(AttributeSource target)` Copies the contents of this `AttributeSource` to the given target `AttributeSource`.

Constructors in org.apache.lucene.util with parameters of type AttributeSource
`AttributeSource(AttributeSource input)` An AttributeSource that uses the same attributes as the supplied one.

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