Uses of Class
org.apache.lucene.util.AttributeSource
-
Packages that use AttributeSource Package Description org.apache.lucene.analysis Text analysis.org.apache.lucene.analysis.standard Fast, general-purpose grammar-based tokenizerStandardTokenizer
implements the Word Break rules from the Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29.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 Modifier and Type Class Description class
CachingTokenFilter
This class can be used if the token attributes of a TokenStream are intended to be consumed more than once.class
FilteringTokenFilter
Abstract base class for TokenFilters that may remove tokens.class
LowerCaseFilter
Normalizes token text to lower case.class
StopFilter
Removes stop words from a token stream.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
Constructors in org.apache.lucene.analysis with parameters of type AttributeSource Constructor Description TokenStream(AttributeSource input)
A TokenStream that uses the same attributes as the supplied one. -
Uses of AttributeSource in org.apache.lucene.analysis.standard
Subclasses of AttributeSource in org.apache.lucene.analysis.standard Modifier and Type Class Description class
StandardFilter
Deprecated.StandardFilter is a no-op and can be removed from codeclass
StandardTokenizer
A grammar-based tokenizer constructed with JFlex. -
Uses of AttributeSource in org.apache.lucene.index
Methods in org.apache.lucene.index that return AttributeSource Modifier and Type Method Description AttributeSource
FilteredTermsEnum. attributes()
Returns the related attributes, the returnedAttributeSource
is shared with the delegateTermsEnum
.AttributeSource
FilterLeafReader.FilterPostingsEnum. attributes()
AttributeSource
FilterLeafReader.FilterTermsEnum. attributes()
AttributeSource
PostingsEnum. attributes()
Deprecated.this method is unused and will be removed in 7.0AttributeSource
TermsEnum. attributes()
Returns the related attributes.AttributeSource
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 AttributeSource Modifier and Type Method Description protected 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
Constructors in org.apache.lucene.search with parameters of type AttributeSource Constructor Description FuzzyTermsEnum(Terms terms, AttributeSource atts, Term term, int maxEdits, int prefixLength, boolean transpositions)
Constructor for enumeration of all terms from specifiedreader
which share a prefix of lengthprefixLength
withterm
and which have at mostmaxEdits
edits. -
Uses of AttributeSource in org.apache.lucene.util
Methods in org.apache.lucene.util that return AttributeSource Modifier and Type Method Description AttributeSource
AttributeSource. cloneAttributes()
Performs a clone of allAttributeImpl
instances returned in a newAttributeSource
instance.Methods in org.apache.lucene.util with parameters of type AttributeSource Modifier and Type Method Description void
AttributeSource. copyTo(AttributeSource target)
Copies the contents of thisAttributeSource
to the given targetAttributeSource
.Constructors in org.apache.lucene.util with parameters of type AttributeSource Constructor Description AttributeSource(AttributeSource input)
An AttributeSource that uses the same attributes as the supplied one.
-