Uses of Class
org.apache.lucene.util.AttributeSource
-
Packages that use AttributeSource Package Description org.apache.lucene.analysis API and code to convert text into indexable/searchable tokens.org.apache.lucene.analysis.standard Standards-based analyzers implemented with JFlex.org.apache.lucene.collation CollationKeyFilterconverts each token into its binaryCollationKeyusing the providedCollator, and then encode theCollationKeyas a String usingIndexableBinaryStringTools, to allow it to be stored as an index term.org.apache.lucene.index Code to maintain and access 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 classASCIIFoldingFilterThis class converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if one exists.classCachingTokenFilterThis class can be used if the token attributes of a TokenStream are intended to be consumed more than once.classCharTokenizerAn abstract base class for simple, character-oriented tokenizers.classFilteringTokenFilterAbstract base class for TokenFilters that may remove tokens.classISOLatin1AccentFilterDeprecated.If you build a new index, useASCIIFoldingFilterwhich covers a superset of Latin 1.classKeywordMarkerFilterMarks terms as keywords via theKeywordAttribute.classKeywordTokenizerEmits the entire input as a single token.classLengthFilterRemoves words that are too long or too short from the stream.classLetterTokenizerA LetterTokenizer is a tokenizer that divides text at non-letters.classLimitTokenCountFilterThis TokenFilter limits the number of tokens while indexing.classLowerCaseFilterNormalizes token text to lower case.classLowerCaseTokenizerLowerCaseTokenizer performs the function of LetterTokenizer and LowerCaseFilter together.classNumericTokenStreamExpert: This class provides aTokenStreamfor indexing numeric values that can be used byNumericRangeQueryorNumericRangeFilter.classPorterStemFilterTransforms the token stream as per the Porter stemming algorithm.classStopFilterRemoves stop words from a token stream.classTeeSinkTokenFilterThis TokenFilter provides the ability to set aside attribute states that have already been analyzed.static classTeeSinkTokenFilter.SinkTokenStreamTokenStream output from a tee with optional filtering.classTokenFilterA TokenFilter is a TokenStream whose input is another TokenStream.classTokenizerA Tokenizer is a TokenStream whose input is a Reader.classTokenStreamclassTypeTokenFilterRemoves tokens whose types appear in a set of blocked types from a token stream.classWhitespaceTokenizerA WhitespaceTokenizer is a tokenizer that divides text at whitespace.Methods in org.apache.lucene.analysis with parameters of type AttributeSource Modifier and Type Method Description abstract booleanTeeSinkTokenFilter.SinkFilter. accept(AttributeSource source)Returns true, iff the current state of the passed-inAttributeSourceshall be stored in the sink.Constructors in org.apache.lucene.analysis with parameters of type AttributeSource Constructor Description CharTokenizer(AttributeSource source, Reader input)Deprecated.useCharTokenizer(Version, AttributeSource, Reader)instead.CharTokenizer(Version matchVersion, AttributeSource source, Reader input)Creates a newCharTokenizerinstanceKeywordTokenizer(AttributeSource source, Reader input, int bufferSize)LetterTokenizer(AttributeSource source, Reader in)Deprecated.useLetterTokenizer(Version, AttributeSource, Reader)instead.LetterTokenizer(Version matchVersion, AttributeSource source, Reader in)Construct a new LetterTokenizer using a givenAttributeSource.LowerCaseTokenizer(AttributeSource source, Reader in)Deprecated.useLowerCaseTokenizer(Version, AttributeSource, Reader)instead.LowerCaseTokenizer(Version matchVersion, AttributeSource source, Reader in)Construct a new LowerCaseTokenizer using a givenAttributeSource.NumericTokenStream(AttributeSource source, int precisionStep)Expert: Creates a token stream for numeric values with the specifiedprecisionStepusing the givenAttributeSource.Tokenizer(AttributeSource source)Deprecated.useTokenizer(AttributeSource, Reader)instead.Tokenizer(AttributeSource source, Reader input)Construct a token stream processing the given input using the given AttributeSource.TokenStream(AttributeSource input)A TokenStream that uses the same attributes as the supplied one.WhitespaceTokenizer(AttributeSource source, Reader in)Deprecated.WhitespaceTokenizer(Version matchVersion, AttributeSource source, Reader in)Construct a new WhitespaceTokenizer using a givenAttributeSource. -
Uses of AttributeSource in org.apache.lucene.analysis.standard
Subclasses of AttributeSource in org.apache.lucene.analysis.standard Modifier and Type Class Description classClassicFilterNormalizes tokens extracted withClassicTokenizer.classClassicTokenizerA grammar-based tokenizer constructed with JFlexclassStandardFilterNormalizes tokens extracted withStandardTokenizer.classStandardTokenizerA grammar-based tokenizer constructed with JFlex.classUAX29URLEmailTokenizerThis class implements Word Break rules from the Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29 URLs and email addresses are also tokenized according to the relevant RFCs.Constructors in org.apache.lucene.analysis.standard with parameters of type AttributeSource Constructor Description ClassicTokenizer(Version matchVersion, AttributeSource source, Reader input)Creates a new ClassicTokenizer with a givenAttributeSource.StandardTokenizer(Version matchVersion, AttributeSource source, Reader input)Creates a new StandardTokenizer with a givenAttributeSource.UAX29URLEmailTokenizer(AttributeSource source, Reader input)Deprecated.UAX29URLEmailTokenizer(Version matchVersion, AttributeSource source, Reader input)Creates a new UAX29URLEmailTokenizer with a givenAttributeSource. -
Uses of AttributeSource in org.apache.lucene.collation
Subclasses of AttributeSource in org.apache.lucene.collation Modifier and Type Class Description classCollationKeyFilterConverts each token into itsCollationKey, and then encodes the CollationKey withIndexableBinaryStringTools, to allow it to be stored as an index term. -
Uses of AttributeSource in org.apache.lucene.index
Methods in org.apache.lucene.index that return AttributeSource Modifier and Type Method Description AttributeSourceFieldInvertState. getAttributeSource() -
Uses of AttributeSource in org.apache.lucene.util
Methods in org.apache.lucene.util that return AttributeSource Modifier and Type Method Description AttributeSourceAttributeSource. cloneAttributes()Performs a clone of allAttributeImplinstances returned in a newAttributeSourceinstance.Methods in org.apache.lucene.util with parameters of type AttributeSource Modifier and Type Method Description voidAttributeSource. copyTo(AttributeSource target)Copies the contents of thisAttributeSourceto 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.
-