Uses of Class
org.apache.lucene.analysis.TokenFilter
Packages that use TokenFilter
Package
Description
Text analysis.
Analyzer for Arabic.
Analyzer for Bulgarian.
Analyzer for Bengali Language.
Provides various convenience classes for creating boosts on Tokens.
Analyzer for Brazilian Portuguese.
Analyzer for Chinese, Japanese, and Korean, which indexes bigrams.
Analyzer for Sorani Kurdish.
Fast, general-purpose grammar-based tokenizers.
Construct n-grams for frequently occurring terms and phrases.
A filter that decomposes compound words you find in many Germanic languages into the word parts.
Basic, general-purpose analysis components.
Analyzer for Czech.
Analyzer for German.
Analyzer for Greek.
Analyzer for English.
Analyzer for Spanish.
Analyzer for Persian.
Analyzer for Finnish.
Analyzer for French.
Analyzer for Irish.
Analyzer for Galician.
Analyzer for Hindi.
Analyzer for Hungarian.
A Java implementation of Hunspell stemming and
spell-checking algorithms (
Hunspell), and a stemming
TokenFilter (HunspellStemFilter) based on it.Analysis components based on ICU
Analyzer for Indonesian.
Analyzer for Indian languages.
Analyzer for Italian.
Analyzer for Japanese.
Analyzer for Korean.
Analyzer for Latvian.
MinHash filtering (for LSH).
Miscellaneous Tokenstreams.
Character n-gram tokenizers and filters.
Analyzer for Norwegian.
Set of components for pattern-based (regex) analysis.
Provides various convenience classes for creating payloads on Tokens.
Analysis components for phonetic search.
Analyzer for Portuguese.
Filter to reverse token text.
Analyzer for Russian.
Word n-gram filters.
Analyzer for Serbian.
Stempel: Algorithmic Stemmer
Analyzer for Swedish.
Analysis components for Synonyms.
Analysis components for Synonyms using Word2Vec model.
Analyzer for Telugu Language.
Analyzer for Turkish.
Utility functions for text analysis.
Monitoring framework
Highlighting search terms.
Analyzer based autosuggest.
Support for document suggestion
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term
vectors, or analysis.
-
Uses of TokenFilter in org.apache.lucene.analysis
Subclasses of TokenFilter in org.apache.lucene.analysisModifier and TypeClassDescriptionfinal classThis class can be used if the token attributes of a TokenStream are intended to be consumed more than once.classAbstract base class for TokenFilters that may remove tokens.classAn abstract TokenFilter that exposes its input stream as a graphclassNormalizes token text to lower case.classRemoves stop words from a token stream. -
Uses of TokenFilter in org.apache.lucene.analysis.ar
Subclasses of TokenFilter in org.apache.lucene.analysis.arModifier and TypeClassDescriptionfinal classATokenFilterthat appliesArabicNormalizerto normalize the orthography.final classATokenFilterthat appliesArabicStemmerto stem Arabic words.. -
Uses of TokenFilter in org.apache.lucene.analysis.bg
Subclasses of TokenFilter in org.apache.lucene.analysis.bgModifier and TypeClassDescriptionfinal classATokenFilterthat appliesBulgarianStemmerto stem Bulgarian words. -
Uses of TokenFilter in org.apache.lucene.analysis.bn
Subclasses of TokenFilter in org.apache.lucene.analysis.bnModifier and TypeClassDescriptionfinal classATokenFilterthat appliesBengaliNormalizerto normalize the orthography.final classATokenFilterthat appliesBengaliStemmerto stem Bengali words. -
Uses of TokenFilter in org.apache.lucene.analysis.boost
Subclasses of TokenFilter in org.apache.lucene.analysis.boostModifier and TypeClassDescriptionfinal classCharacters before the delimiter are the "token", those after are the boost. -
Uses of TokenFilter in org.apache.lucene.analysis.br
Subclasses of TokenFilter in org.apache.lucene.analysis.br -
Uses of TokenFilter in org.apache.lucene.analysis.cjk
Subclasses of TokenFilter in org.apache.lucene.analysis.cjkModifier and TypeClassDescriptionfinal classForms bigrams of CJK terms that are generated from StandardTokenizer or ICUTokenizer.final classATokenFilterthat normalizes CJK width differences: Folds fullwidth ASCII variants into the equivalent basic latin Folds halfwidth Katakana variants into the equivalent kana -
Uses of TokenFilter in org.apache.lucene.analysis.ckb
Subclasses of TokenFilter in org.apache.lucene.analysis.ckbModifier and TypeClassDescriptionfinal classATokenFilterthat appliesSoraniNormalizerto normalize the orthography.final classATokenFilterthat appliesSoraniStemmerto stem Sorani words. -
Uses of TokenFilter in org.apache.lucene.analysis.classic
Subclasses of TokenFilter in org.apache.lucene.analysis.classicMethods in org.apache.lucene.analysis.classic that return TokenFilter -
Uses of TokenFilter in org.apache.lucene.analysis.commongrams
Subclasses of TokenFilter in org.apache.lucene.analysis.commongramsModifier and TypeClassDescriptionfinal classConstruct bigrams for frequently occurring terms while indexing.final classWrap a CommonGramsFilter optimizing phrase queries by only returning single words when they are not a member of a bigram.Methods in org.apache.lucene.analysis.commongrams that return TokenFilterModifier and TypeMethodDescriptionCommonGramsFilterFactory.create(TokenStream input) CommonGramsQueryFilterFactory.create(TokenStream input) Create a CommonGramsFilter and wrap it with a CommonGramsQueryFilter -
Uses of TokenFilter in org.apache.lucene.analysis.compound
Subclasses of TokenFilter in org.apache.lucene.analysis.compoundModifier and TypeClassDescriptionclassBase class for decomposition token filters.classATokenFilterthat decomposes compound words found in many Germanic languages.classATokenFilterthat decomposes compound words found in many Germanic languages.Methods in org.apache.lucene.analysis.compound that return TokenFilterModifier and TypeMethodDescriptionHyphenationCompoundWordTokenFilterFactory.create(TokenStream input) -
Uses of TokenFilter in org.apache.lucene.analysis.core
Subclasses of TokenFilter in org.apache.lucene.analysis.coreModifier and TypeClassDescriptionfinal classFolds all Unicode digits in[:General_Category=Decimal_Number:]to Basic Latin digits (0-9).final classConverts an incoming graph token stream, such as one fromSynonymGraphFilter, into a flat form so that all nodes form a single linear chain with no side paths.final classNormalizes token text to lower case.final classRemoves stop words from a token stream.final classRemoves tokens whose types appear in a set of blocked types from a token stream.final classNormalizes token text to UPPER CASE. -
Uses of TokenFilter in org.apache.lucene.analysis.cz
Subclasses of TokenFilter in org.apache.lucene.analysis.czModifier and TypeClassDescriptionfinal classATokenFilterthat appliesCzechStemmerto stem Czech words. -
Uses of TokenFilter in org.apache.lucene.analysis.de
Subclasses of TokenFilter in org.apache.lucene.analysis.deModifier and TypeClassDescriptionfinal classATokenFilterthat appliesGermanLightStemmerto stem German words.final classATokenFilterthat appliesGermanMinimalStemmerto stem German words.final classNormalizes German characters according to the heuristics of the German2 snowball algorithm.final classATokenFilterthat stems German words. -
Uses of TokenFilter in org.apache.lucene.analysis.el
Subclasses of TokenFilter in org.apache.lucene.analysis.elModifier and TypeClassDescriptionfinal classNormalizes token text to lower case, removes some Greek diacritics, and standardizes final sigma to sigma.final classATokenFilterthat appliesGreekStemmerto stem Greek words. -
Uses of TokenFilter in org.apache.lucene.analysis.en
Subclasses of TokenFilter in org.apache.lucene.analysis.enModifier and TypeClassDescriptionfinal classATokenFilterthat appliesEnglishMinimalStemmerto stem English words.final classTokenFilter that removes possessives (trailing 's) from words.final classA high-performance kstem filter for english.final classTransforms the token stream as per the Porter stemming algorithm.Methods in org.apache.lucene.analysis.en that return TokenFilter -
Uses of TokenFilter in org.apache.lucene.analysis.es
Subclasses of TokenFilter in org.apache.lucene.analysis.esModifier and TypeClassDescriptionfinal classATokenFilterthat appliesSpanishLightStemmerto stem Spanish words.final classDeprecated.final classATokenFilterthat appliesSpanishPluralStemmerto stem Spanish words. -
Uses of TokenFilter in org.apache.lucene.analysis.fa
Subclasses of TokenFilter in org.apache.lucene.analysis.faModifier and TypeClassDescriptionfinal classATokenFilterthat appliesPersianNormalizerto normalize the orthography.final classATokenFilterthat appliesPersianStemmerto stem Persian words. -
Uses of TokenFilter in org.apache.lucene.analysis.fi
Subclasses of TokenFilter in org.apache.lucene.analysis.fiModifier and TypeClassDescriptionfinal classATokenFilterthat appliesFinnishLightStemmerto stem Finnish words. -
Uses of TokenFilter in org.apache.lucene.analysis.fr
Subclasses of TokenFilter in org.apache.lucene.analysis.frModifier and TypeClassDescriptionfinal classATokenFilterthat appliesFrenchLightStemmerto stem French words.final classATokenFilterthat appliesFrenchMinimalStemmerto stem French words. -
Uses of TokenFilter in org.apache.lucene.analysis.ga
Subclasses of TokenFilter in org.apache.lucene.analysis.gaModifier and TypeClassDescriptionfinal classNormalises token text to lower case, handling t-prothesis and n-eclipsis (i.e., that 'nAthair' should become 'n-athair') -
Uses of TokenFilter in org.apache.lucene.analysis.gl
Subclasses of TokenFilter in org.apache.lucene.analysis.glModifier and TypeClassDescriptionfinal classATokenFilterthat appliesGalicianMinimalStemmerto stem Galician words.final classATokenFilterthat appliesGalicianStemmerto stem Galician words. -
Uses of TokenFilter in org.apache.lucene.analysis.hi
Subclasses of TokenFilter in org.apache.lucene.analysis.hiModifier and TypeClassDescriptionfinal classATokenFilterthat appliesHindiNormalizerto normalize the orthography.final classATokenFilterthat appliesHindiStemmerto stem Hindi words. -
Uses of TokenFilter in org.apache.lucene.analysis.hu
Subclasses of TokenFilter in org.apache.lucene.analysis.huModifier and TypeClassDescriptionfinal classATokenFilterthat appliesHungarianLightStemmerto stem Hungarian words. -
Uses of TokenFilter in org.apache.lucene.analysis.hunspell
Subclasses of TokenFilter in org.apache.lucene.analysis.hunspellModifier and TypeClassDescriptionfinal classTokenFilter that uses hunspell affix rules and words to stem tokens. -
Uses of TokenFilter in org.apache.lucene.analysis.icu
Subclasses of TokenFilter in org.apache.lucene.analysis.icuModifier and TypeClassDescriptionfinal classA TokenFilter that applies search term folding to Unicode text, applying foldings from UTR#30 Character Foldings.classNormalize token text with ICU'sNormalizer2final classATokenFilterthat transforms text with ICU. -
Uses of TokenFilter in org.apache.lucene.analysis.id
Subclasses of TokenFilter in org.apache.lucene.analysis.idModifier and TypeClassDescriptionfinal classATokenFilterthat appliesIndonesianStemmerto stem Indonesian words. -
Uses of TokenFilter in org.apache.lucene.analysis.in
Subclasses of TokenFilter in org.apache.lucene.analysis.inModifier and TypeClassDescriptionfinal classATokenFilterthat appliesIndicNormalizerto normalize text in Indian Languages. -
Uses of TokenFilter in org.apache.lucene.analysis.it
Subclasses of TokenFilter in org.apache.lucene.analysis.itModifier and TypeClassDescriptionfinal classATokenFilterthat appliesItalianLightStemmerto stem Italian words. -
Uses of TokenFilter in org.apache.lucene.analysis.ja
Subclasses of TokenFilter in org.apache.lucene.analysis.jaModifier and TypeClassDescriptionfinal classReplaces term text with theBaseFormAttribute.final classATokenFilterthat adds Japanese romanized tokens to the term attribute.final classATokenFilterthat normalizes small letters (捨て仮名) in hiragana into normal letters.final classATokenFilterthat normalizes common katakana spelling variations ending in a long sound character by removing this character (U+30FC).final classATokenFilterthat normalizes small letters (捨て仮名) in katakana into normal letters.classATokenFilterthat normalizes Japanese numbers (kansūji) to regular Arabic decimal numbers in half-width characters.final classRemoves tokens that match a set of part-of-speech tags.final classATokenFilterthat replaces the term attribute with the reading of a token in either katakana or romaji form. -
Uses of TokenFilter in org.apache.lucene.analysis.ko
Subclasses of TokenFilter in org.apache.lucene.analysis.koModifier and TypeClassDescriptionclassATokenFilterthat normalizes Korean numbers to regular Arabic decimal numbers in half-width characters.final classRemoves tokens that match a set of part-of-speech tags.final classReplaces term text with theReadingAttributewhich is the Hangul transcription of Hanja characters. -
Uses of TokenFilter in org.apache.lucene.analysis.lv
Subclasses of TokenFilter in org.apache.lucene.analysis.lvModifier and TypeClassDescriptionfinal classATokenFilterthat appliesLatvianStemmerto stem Latvian words. -
Uses of TokenFilter in org.apache.lucene.analysis.minhash
Subclasses of TokenFilter in org.apache.lucene.analysis.minhashModifier and TypeClassDescriptionclassGenerate min hash tokens from an incoming stream of tokens. -
Uses of TokenFilter in org.apache.lucene.analysis.miscellaneous
Subclasses of TokenFilter in org.apache.lucene.analysis.miscellaneousModifier and TypeClassDescriptionfinal classThis 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.final classA filter to apply normal capitalization rules to Tokens.final classRemoves words that are too long or too short from the stream.classAllows skipping TokenFilters based on the current set of attributes.classFilters all tokens that cannot be parsed to a date, using the providedDateFormat.final classCharacters before the delimiter are the "token", the textual integer after is the term frequency.final classAllows Tokens with a given combination of flags to be dropped.classFilter outputs a single token which is a concatenation of the sorted and de-duplicated set of input tokens.final classDeprecated.Fix the token filters that create broken offsets in the first place.final classWhen the plain text is extracted from documents, we will often have many words hyphenated and broken into two lines.final classA TokenFilter that only keeps tokens with text contained in the required words.classMarks terms as keywords via theKeywordAttribute.final classThis TokenFilter emits each incoming token twice once as keyword and once non-keyword, in other words once withKeywordAttribute.setKeyword(boolean)set totrueand once set tofalse.final classRemoves words that are too long or too short from the stream.final classThis TokenFilter limits the number of tokens while indexing.final classLets all tokens pass through until it sees one with a start offset <= a configured limit, which won't pass and ends the stream.final classThis TokenFilter limits its emitted tokens to those with positions that are not greater than the configured limit.final classMarks terms as keywords via theKeywordAttribute.classA ConditionalTokenFilter that only applies its wrapped filters to tokens that are not contained in a protected set.final classA TokenFilter which filters out Tokens at the same position and Term text as the previous token in the stream.final classThis filter folds Scandinavian characters åÅäæÄÆ->a and öÖøØ->o.final classThis filter normalize use of the interchangeable Scandinavian characters æÆäÄöÖøØ and folded variants (aa, ao, ae, oe and oo) by transforming them to åÅæÆøØ.final classMarks terms as keywords via theKeywordAttribute.final classProvides the ability to override anyKeywordAttributeaware stemmer with custom dictionary-based stemming.final classTrims leading and trailing whitespace from Tokens in the stream.final classA token filter for truncating the terms into a specific length.final classAdds theTypeAttribute.type()as a synonym, i.e.final classDeprecated.UseWordDelimiterGraphFilterinstead: it produces a correct token graph so that e.g.final classSplits words into subwords and performs optional transformations on subword groups, producing a correct token graph so that e.g.Methods in org.apache.lucene.analysis.miscellaneous that return TokenFilterModifier and TypeMethodDescriptionWordDelimiterFilterFactory.create(TokenStream input) Deprecated.WordDelimiterGraphFilterFactory.create(TokenStream input) -
Uses of TokenFilter in org.apache.lucene.analysis.ngram
Subclasses of TokenFilter in org.apache.lucene.analysis.ngramModifier and TypeClassDescriptionfinal classTokenizes the given token into n-grams of given size(s).final classTokenizes the input into n-grams of the given size(s).Methods in org.apache.lucene.analysis.ngram that return TokenFilterModifier and TypeMethodDescriptionEdgeNGramFilterFactory.create(TokenStream input) NGramFilterFactory.create(TokenStream input) -
Uses of TokenFilter in org.apache.lucene.analysis.no
Subclasses of TokenFilter in org.apache.lucene.analysis.noModifier and TypeClassDescriptionfinal classATokenFilterthat appliesNorwegianLightStemmerto stem Norwegian words.final classATokenFilterthat appliesNorwegianMinimalStemmerto stem Norwegian words.final classThis filter normalize use of the interchangeable Scandinavian characters æÆäÄöÖøØ and folded variants (ae, oe, aa) by transforming them to åÅæÆøØ. -
Uses of TokenFilter in org.apache.lucene.analysis.pattern
Subclasses of TokenFilter in org.apache.lucene.analysis.patternModifier and TypeClassDescriptionfinal classCaptureGroup uses Java regexes to emit multiple tokens - one for each capture group in one or more patterns.final classA TokenFilter which applies a Pattern to each token in the stream, replacing match occurrences with the specified replacement string.classSet a type attribute to a parameterized value when tokens are matched by any of a several regex patterns. -
Uses of TokenFilter in org.apache.lucene.analysis.payloads
Subclasses of TokenFilter in org.apache.lucene.analysis.payloadsModifier and TypeClassDescriptionfinal classCharacters before the delimiter are the "token", those after are the payload.classAssigns a payload to a token based on theTypeAttributeclassAdds theOffsetAttribute.startOffset()andOffsetAttribute.endOffset()First 4 bytes are the startclassMakes theTypeAttributea payload. -
Uses of TokenFilter in org.apache.lucene.analysis.phonetic
Subclasses of TokenFilter in org.apache.lucene.analysis.phoneticModifier and TypeClassDescriptionfinal classTokenFilter for Beider-Morse phonetic encoding.final classCreate tokens for phonetic matches based on Daitch–Mokotoff Soundex.final classFilter for DoubleMetaphone (supporting secondary codes)final classCreate tokens for phonetic matches. -
Uses of TokenFilter in org.apache.lucene.analysis.pt
Subclasses of TokenFilter in org.apache.lucene.analysis.ptModifier and TypeClassDescriptionfinal classATokenFilterthat appliesPortugueseLightStemmerto stem Portuguese words.final classATokenFilterthat appliesPortugueseMinimalStemmerto stem Portuguese words.final classATokenFilterthat appliesPortugueseStemmerto stem Portuguese words. -
Uses of TokenFilter in org.apache.lucene.analysis.reverse
Subclasses of TokenFilter in org.apache.lucene.analysis.reverseModifier and TypeClassDescriptionfinal classReverse token string, for example "country" => "yrtnuoc". -
Uses of TokenFilter in org.apache.lucene.analysis.ru
Subclasses of TokenFilter in org.apache.lucene.analysis.ruModifier and TypeClassDescriptionfinal classATokenFilterthat appliesRussianLightStemmerto stem Russian words. -
Uses of TokenFilter in org.apache.lucene.analysis.shingle
Subclasses of TokenFilter in org.apache.lucene.analysis.shingleModifier and TypeClassDescriptionfinal classA FixedShingleFilter constructs shingles (token n-grams) from a token stream.final classA ShingleFilter constructs shingles (token n-grams) from a token stream. -
Uses of TokenFilter in org.apache.lucene.analysis.sinks
Subclasses of TokenFilter in org.apache.lucene.analysis.sinksModifier and TypeClassDescriptionfinal classThis TokenFilter provides the ability to set aside attribute states that have already been analyzed. -
Uses of TokenFilter in org.apache.lucene.analysis.snowball
Subclasses of TokenFilter in org.apache.lucene.analysis.snowballModifier and TypeClassDescriptionfinal classA filter that stems words using a Snowball-generated stemmer.Methods in org.apache.lucene.analysis.snowball that return TokenFilter -
Uses of TokenFilter in org.apache.lucene.analysis.sr
Subclasses of TokenFilter in org.apache.lucene.analysis.srModifier and TypeClassDescriptionfinal classNormalizes Serbian Cyrillic and Latin characters to "bald" Latin.final classNormalizes Serbian Cyrillic to Latin. -
Uses of TokenFilter in org.apache.lucene.analysis.stempel
Subclasses of TokenFilter in org.apache.lucene.analysis.stempelModifier and TypeClassDescriptionfinal classTransforms the token stream as per the stemming algorithm. -
Uses of TokenFilter in org.apache.lucene.analysis.sv
Subclasses of TokenFilter in org.apache.lucene.analysis.svModifier and TypeClassDescriptionfinal classATokenFilterthat appliesSwedishLightStemmerto stem Swedish words.final classATokenFilterthat appliesSwedishMinimalStemmerto stem Swedish words. -
Uses of TokenFilter in org.apache.lucene.analysis.synonym
Subclasses of TokenFilter in org.apache.lucene.analysis.synonymModifier and TypeClassDescriptionfinal classDeprecated.UseSynonymGraphFilterinstead, but be sure to also useFlattenGraphFilterat index time (not at search time) as well.final classApplies single- or multi-token synonyms from aSynonymMapto an incomingTokenStream, producing a fully correct graph output. -
Uses of TokenFilter in org.apache.lucene.analysis.synonym.word2vec
Subclasses of TokenFilter in org.apache.lucene.analysis.synonym.word2vecModifier and TypeClassDescriptionfinal classApplies single-token synonyms from a Word2Vec trained network to an incomingTokenStream. -
Uses of TokenFilter in org.apache.lucene.analysis.te
Subclasses of TokenFilter in org.apache.lucene.analysis.teModifier and TypeClassDescriptionfinal classATokenFilterthat appliesTeluguNormalizerto normalize the orthography.final classATokenFilterthat appliesTeluguStemmerto stem Telugu words. -
Uses of TokenFilter in org.apache.lucene.analysis.tr
Subclasses of TokenFilter in org.apache.lucene.analysis.trModifier and TypeClassDescriptionfinal classStrips all characters after an apostrophe (including the apostrophe itself).final classNormalizes Turkish token text to lower case. -
Uses of TokenFilter in org.apache.lucene.analysis.util
Subclasses of TokenFilter in org.apache.lucene.analysis.util -
Uses of TokenFilter in org.apache.lucene.monitor
Subclasses of TokenFilter in org.apache.lucene.monitor -
Uses of TokenFilter in org.apache.lucene.search.highlight
Subclasses of TokenFilter in org.apache.lucene.search.highlightModifier and TypeClassDescription(package private) final classThis is a simplified version of org.apache.lucene.analysis.miscellaneous.LimitTokenOffsetFilter to prevent a dependency on analysis-common.jar.final classThis TokenFilter limits the number of tokens while indexing by adding up the current offset. -
Uses of TokenFilter in org.apache.lucene.search.suggest.analyzing
Subclasses of TokenFilter in org.apache.lucene.search.suggest.analyzingModifier and TypeClassDescriptionfinal classLikeStopFilterexcept it will not remove the last token if that token was not followed by some token separator. -
Uses of TokenFilter in org.apache.lucene.search.suggest.document
Subclasses of TokenFilter in org.apache.lucene.search.suggest.documentModifier and TypeClassDescriptionfinal classAConcatenateGraphFilterbut we can set the payload and provide access to config options.private static final classTheContextSuggestField.PrefixTokenFilterwraps aTokenStreamand adds a set prefixes ahead. -
Uses of TokenFilter in org.apache.lucene.search.uhighlight
Subclasses of TokenFilter in org.apache.lucene.search.uhighlightModifier and TypeClassDescriptionprivate static final classWraps anAnalyzerand string text that represents multiple values delimited by a specified character.
SpanishPluralStemFilterinstead.