Uses of Class
org.apache.lucene.util.AttributeSource
Packages that use AttributeSource
Package
Description
API and code to convert text into indexable/searchable tokens.
Code to maintain and access indices.
Code to search indices.
Some utility classes.
-
Uses of AttributeSource in org.apache.lucene.analysis
Subclasses of AttributeSource in org.apache.lucene.analysisModifier and TypeClassDescriptionfinal class
This class can be used if the token attributes of a TokenStream are intended to be consumed more than once.final class
Expert: This class provides aTokenStream
for indexing numeric values that can be used byNumericRangeQuery
orNumericRangeFilter
.class
A TokenFilter is a TokenStream whose input is another TokenStream.class
A Tokenizer is a TokenStream whose input is a Reader.class
Constructors in org.apache.lucene.analysis with parameters of type AttributeSourceModifierConstructorDescriptionprotected
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 AttributeSourceModifier and TypeMethodDescriptionDocsEnum.attributes()
Returns the related attributes.FilterAtomicReader.FilterDocsAndPositionsEnum.attributes()
FilterAtomicReader.FilterDocsEnum.attributes()
FilterAtomicReader.FilterTermsEnum.attributes()
FilteredTermsEnum.attributes()
Returns the related attributes, the returnedAttributeSource
is shared with the delegateTermsEnum
.TermsEnum.attributes()
Returns the related attributes.FieldInvertState.getAttributeSource()
Returns theAttributeSource
from theTokenStream
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 AttributeSourceModifier and TypeMethodDescriptionprotected TermsEnum
AutomatonQuery.getTermsEnum
(Terms terms, AttributeSource atts) protected TermsEnum
FuzzyQuery.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
MultiTermQuery.RewriteMethod.getTermsEnum
(MultiTermQuery query, Terms terms, AttributeSource atts) Returns theMultiTermQuery
sTermsEnum
protected TermsEnum
NumericRangeQuery.getTermsEnum
(Terms terms, AttributeSource atts) protected TermsEnum
PrefixQuery.getTermsEnum
(Terms terms, AttributeSource atts) protected TermsEnum
TermRangeQuery.getTermsEnum
(Terms terms, AttributeSource atts) Constructors in org.apache.lucene.search with parameters of type AttributeSourceModifierConstructorDescriptionFuzzyTermsEnum
(Terms terms, AttributeSource atts, Term term, float minSimilarity, int prefixLength, boolean transpositions) Constructor for enumeration of all terms from specifiedreader
which share a prefix of lengthprefixLength
withterm
and which have a fuzzy similarity >minSimilarity
. -
Uses of AttributeSource in org.apache.lucene.util
Methods in org.apache.lucene.util that return AttributeSourceModifier and TypeMethodDescriptionfinal AttributeSource
AttributeSource.cloneAttributes()
Performs a clone of allAttributeImpl
instances returned in a newAttributeSource
instance.Methods in org.apache.lucene.util with parameters of type AttributeSourceModifier and TypeMethodDescriptionfinal void
AttributeSource.copyTo
(AttributeSource target) Copies the contents of thisAttributeSource
to the given targetAttributeSource
.Constructors in org.apache.lucene.util with parameters of type AttributeSourceModifierConstructorDescriptionAttributeSource
(AttributeSource input) An AttributeSource that uses the same attributes as the supplied one.