Uses of Class
org.apache.lucene.analysis.TokenStream
-
Packages that use TokenStream Package Description org.apache.lucene.analysis API and code to convert text into indexable/searchable tokens.org.apache.lucene.analysis.ar Analyzer for Arabic.org.apache.lucene.analysis.bg Analyzer for Bulgarian.org.apache.lucene.analysis.br Analyzer for Brazilian Portuguese.org.apache.lucene.analysis.cjk Analyzer for Chinese, Japanese, and Korean, which indexes bigrams (overlapping groups of two adjacent Han characters).org.apache.lucene.analysis.cn Analyzer for Chinese, which indexes unigrams (individual chinese characters).org.apache.lucene.analysis.cn.smart Analyzer for Simplified Chinese, which indexes words.org.apache.lucene.analysis.compound A filter that decomposes compound words you find in many Germanic languages into the word parts.org.apache.lucene.analysis.cz Analyzer for Czech.org.apache.lucene.analysis.de Analyzer for German.org.apache.lucene.analysis.el Analyzer for Greek.org.apache.lucene.analysis.en Analyzer for English.org.apache.lucene.analysis.es Analyzer for Spanish.org.apache.lucene.analysis.fa Analyzer for Persian.org.apache.lucene.analysis.fi Analyzer for Finnish.org.apache.lucene.analysis.fr Analyzer for French.org.apache.lucene.analysis.ga Analysis for Irish.org.apache.lucene.analysis.gl Analyzer for Galician.org.apache.lucene.analysis.hi Analyzer for Hindi.org.apache.lucene.analysis.hu Analyzer for Hungarian.org.apache.lucene.analysis.hunspell Stemming TokenFilter using a Java implementation of the Hunspell stemming algorithm.org.apache.lucene.analysis.icu Analysis components based on ICUorg.apache.lucene.analysis.icu.segmentation Tokenizer that breaks text into words with the Unicode Text Segmentation algorithm.org.apache.lucene.analysis.id Analyzer for Indonesian.org.apache.lucene.analysis.in Analysis components for Indian languages.org.apache.lucene.analysis.it Analyzer for Italian.org.apache.lucene.analysis.ja Analyzer for Japanese.org.apache.lucene.analysis.lv Analyzer for Latvian.org.apache.lucene.analysis.miscellaneous Miscellaneous TokenStreamsorg.apache.lucene.analysis.ngram Character n-gram tokenizers and filters.org.apache.lucene.analysis.nl Analyzer for Dutch.org.apache.lucene.analysis.no Analyzer for Norwegian.org.apache.lucene.analysis.path Analysis components for path-like strings such as filenames.org.apache.lucene.analysis.payloads Provides various convenience classes for creating payloads on Tokens.org.apache.lucene.analysis.phonetic Analysis components for phonetic search.org.apache.lucene.analysis.position Filter for assigning position increments.org.apache.lucene.analysis.pt Analyzer for Portuguese.org.apache.lucene.analysis.query Automatically filter high-frequency stopwords.org.apache.lucene.analysis.reverse Filter to reverse token text.org.apache.lucene.analysis.ru Analyzer for Russian.org.apache.lucene.analysis.shingle Word n-gram filtersorg.apache.lucene.analysis.snowball TokenFilterandAnalyzerimplementations that use Snowball stemmers.org.apache.lucene.analysis.standard Standards-based analyzers implemented with JFlex.org.apache.lucene.analysis.stempel Stempel: Algorithmic Stemmerorg.apache.lucene.analysis.sv Analyzer for Swedish.org.apache.lucene.analysis.synonym Analysis components for Synonyms.org.apache.lucene.analysis.th Analyzer for Thai.org.apache.lucene.analysis.tr Analyzer for Turkish.org.apache.lucene.analysis.wikipedia Tokenizer that is aware of Wikipedia syntax.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.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.facet.enhancements Enhanced category featuresorg.apache.lucene.facet.enhancements.association Association category enhancementsorg.apache.lucene.facet.index Indexing of document categoriesorg.apache.lucene.facet.index.streaming Expert: attributes streaming definition for indexing facetsorg.apache.lucene.index.memory High-performance single-document main memory Apache Lucene fulltext search index.org.apache.lucene.queryParser A simple query parser implemented with JavaCC.org.apache.lucene.search.highlight The highlight package contains classes to provide "keyword in context" features typically used to highlight search terms in the text of results pages. -
-
Uses of TokenStream in org.apache.lucene.analysis
Subclasses of TokenStream 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.classCannedTokenStreamTokenStream from a canned list of Tokens.classCharTokenizerAn abstract base class for simple, character-oriented tokenizers.classEmptyTokenizerEmits no tokensclassFilteringTokenFilterAbstract 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.classLookaheadTokenFilter<T extends LookaheadTokenFilter.Position>An abstract TokenFilter to make it easier to build graph token filters requiring some lookahead.classLowerCaseFilterNormalizes token text to lower case.classLowerCaseTokenizerLowerCaseTokenizer performs the function of LetterTokenizer and LowerCaseFilter together.classMockFixedLengthPayloadFilterTokenFilter that adds random fixed-length payloads.classMockGraphTokenFilterRandomly inserts overlapped (posInc=0) tokens with posLength sometimes > 1.classMockHoleInjectingTokenFilterclassMockRandomLookaheadTokenFilterUsesLookaheadTokenFilterto randomly peek at future tokens.classMockTokenizerTokenizer for testing.classMockVariableLengthPayloadFilterTokenFilter that adds random variable-length payloads.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.classTypeTokenFilterRemoves tokens whose types appear in a set of blocked types from a token stream.classValidatingTokenFilterA TokenFilter that checks consistency of the tokens (eg offsets are consistent with one another).classWhitespaceTokenizerA WhitespaceTokenizer is a tokenizer that divides text at whitespace.Fields in org.apache.lucene.analysis declared as TokenStream Modifier and Type Field Description protected TokenStreamTokenFilter. inputThe source of tokens for this filter.protected TokenStreamReusableAnalyzerBase.TokenStreamComponents. sinkMethods in org.apache.lucene.analysis that return TokenStream Modifier and Type Method Description protected TokenStreamReusableAnalyzerBase.TokenStreamComponents. getTokenStream()Returns the sinkTokenStreamTokenStreamAnalyzer. reusableTokenStream(String fieldName, Reader reader)Creates a TokenStream that is allowed to be re-used from the previous time that the same thread called this method.TokenStreamLimitTokenCountAnalyzer. reusableTokenStream(String fieldName, Reader reader)TokenStreamMockAnalyzer. reusableTokenStream(String fieldName, Reader reader)TokenStreamPerFieldAnalyzerWrapper. reusableTokenStream(String fieldName, Reader reader)TokenStreamReusableAnalyzerBase. reusableTokenStream(String fieldName, Reader reader)This method usesReusableAnalyzerBase.createComponents(String, Reader)to obtain an instance ofReusableAnalyzerBase.TokenStreamComponents.abstract TokenStreamAnalyzer. tokenStream(String fieldName, Reader reader)Creates a TokenStream which tokenizes all the text in the provided Reader.TokenStreamLimitTokenCountAnalyzer. tokenStream(String fieldName, Reader reader)TokenStreamMockAnalyzer. tokenStream(String fieldName, Reader reader)TokenStreamPerFieldAnalyzerWrapper. tokenStream(String fieldName, Reader reader)TokenStreamReusableAnalyzerBase. tokenStream(String fieldName, Reader reader)This method usesReusableAnalyzerBase.createComponents(String, Reader)to obtain an instance ofReusableAnalyzerBase.TokenStreamComponentsand returns the sink of the components.Methods in org.apache.lucene.analysis with parameters of type TokenStream Modifier and Type Method Description static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] posIncrements)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] startOffsets, int[] endOffsets)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] startOffsets, int[] endOffsets, int[] posIncrements)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] startOffsets, int[] endOffsets, int[] posIncrements, int[] posLengths, Integer finalOffset)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] startOffsets, int[] endOffsets, int[] posIncrements, Integer finalOffset)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] startOffsets, int[] endOffsets, Integer finalOffset)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] startOffsets, int[] endOffsets, String[] types, int[] posIncrements)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] startOffsets, int[] endOffsets, String[] types, int[] posIncrements, int[] posLengths, Integer finalOffset)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] startOffsets, int[] endOffsets, String[] types, int[] posIncrements, int[] posLengths, Integer finalOffset, boolean offsetsAreCorrect)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, int[] startOffsets, int[] endOffsets, String[] types, int[] posIncrements, Integer finalOffset)static voidBaseTokenStreamTestCase. assertTokenStreamContents(TokenStream ts, String[] output, String[] types)Constructors in org.apache.lucene.analysis with parameters of type TokenStream Constructor Description ASCIIFoldingFilter(TokenStream input)CachingTokenFilter(TokenStream input)FilteringTokenFilter(boolean enablePositionIncrements, TokenStream input)ISOLatin1AccentFilter(TokenStream input)Deprecated.KeywordMarkerFilter(TokenStream in, Set<?> keywordSet)Create a new KeywordMarkerFilter, that marks the current token as a keyword if the tokens term buffer is contained in the given set via theKeywordAttribute.KeywordMarkerFilter(TokenStream in, CharArraySet keywordSet)Create a new KeywordMarkerFilter, that marks the current token as a keyword if the tokens term buffer is contained in the given set via theKeywordAttribute.LengthFilter(boolean enablePositionIncrements, TokenStream in, int min, int max)Build a filter that removes words that are too long or too short from the text.LengthFilter(TokenStream in, int min, int max)Deprecated.UseLengthFilter(boolean, TokenStream, int, int)instead.LimitTokenCountFilter(TokenStream in, int maxTokenCount)Build a filter that only accepts tokens up to a maximum number.LookaheadTokenFilter(TokenStream input)LowerCaseFilter(TokenStream in)Deprecated.UseLowerCaseFilter(Version, TokenStream)instead.LowerCaseFilter(Version matchVersion, TokenStream in)Create a new LowerCaseFilter, that normalizes token text to lower case.MockFixedLengthPayloadFilter(Random random, TokenStream in, int length)MockGraphTokenFilter(Random random, TokenStream input)MockHoleInjectingTokenFilter(Random random, TokenStream in)MockRandomLookaheadTokenFilter(Random random, TokenStream in)MockVariableLengthPayloadFilter(Random random, TokenStream in)PorterStemFilter(TokenStream in)StopFilter(boolean enablePositionIncrements, TokenStream in, Set<?> stopWords)Deprecated.useStopFilter(Version, TokenStream, Set)insteadStopFilter(boolean enablePositionIncrements, TokenStream input, Set<?> stopWords, boolean ignoreCase)Deprecated.UseStopFilter(Version, TokenStream, Set)insteadStopFilter(Version matchVersion, TokenStream in, Set<?> stopWords)Constructs a filter which removes words from the input TokenStream that are named in the Set.StopFilter(Version matchVersion, TokenStream input, Set<?> stopWords, boolean ignoreCase)Deprecated.UseStopFilter(Version, TokenStream, Set)insteadTeeSinkTokenFilter(TokenStream input)Instantiates a new TeeSinkTokenFilter.TokenFilter(TokenStream input)Construct a token stream filtering the given input.TokenStreamComponents(Tokenizer source, TokenStream result)Creates a newReusableAnalyzerBase.TokenStreamComponentsinstance.TokenStreamToDot(String inputText, TokenStream in, PrintWriter out)If inputText is non-null, and the TokenStream has offsets, we include the surface form in each arc's label.TypeTokenFilter(boolean enablePositionIncrements, TokenStream input, Set<String> stopTypes)TypeTokenFilter(boolean enablePositionIncrements, TokenStream input, Set<String> stopTypes, boolean useWhiteList)ValidatingTokenFilter(TokenStream in, String name, boolean offsetsAreCorrect)The name arg is used to identify this stage when throwing exceptions (useful if you have more than one instance in your chain). -
Uses of TokenStream in org.apache.lucene.analysis.ar
Subclasses of TokenStream in org.apache.lucene.analysis.ar Modifier and Type Class Description classArabicLetterTokenizerDeprecated.(3.1) UseStandardTokenizerinstead.classArabicNormalizationFilterATokenFilterthat appliesArabicNormalizerto normalize the orthography.classArabicStemFilterATokenFilterthat appliesArabicStemmerto stem Arabic words..Constructors in org.apache.lucene.analysis.ar with parameters of type TokenStream Constructor Description ArabicNormalizationFilter(TokenStream input)ArabicStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.bg
Subclasses of TokenStream in org.apache.lucene.analysis.bg Modifier and Type Class Description classBulgarianStemFilterATokenFilterthat appliesBulgarianStemmerto stem Bulgarian words.Constructors in org.apache.lucene.analysis.bg with parameters of type TokenStream Constructor Description BulgarianStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.br
Subclasses of TokenStream in org.apache.lucene.analysis.br Modifier and Type Class Description classBrazilianStemFilterATokenFilterthat appliesBrazilianStemmer.Constructors in org.apache.lucene.analysis.br with parameters of type TokenStream Constructor Description BrazilianStemFilter(TokenStream in)Creates a new BrazilianStemFilterBrazilianStemFilter(TokenStream in, Set<?> exclusiontable)Deprecated.useKeywordAttributewithKeywordMarkerFilterinstead. -
Uses of TokenStream in org.apache.lucene.analysis.cjk
Subclasses of TokenStream in org.apache.lucene.analysis.cjk Modifier and Type Class Description classCJKBigramFilterForms bigrams of CJK terms that are generated from StandardTokenizer or ICUTokenizer.classCJKTokenizerDeprecated.Use StandardTokenizer, CJKWidthFilter, CJKBigramFilter, and LowerCaseFilter instead.classCJKWidthFilterATokenFilterthat normalizes CJK width differences: Folds fullwidth ASCII variants into the equivalent basic latin Folds halfwidth Katakana variants into the equivalent kanaConstructors in org.apache.lucene.analysis.cjk with parameters of type TokenStream Constructor Description CJKBigramFilter(TokenStream in)CJKBigramFilter(TokenStream in, int flags)Create a new CJKBigramFilter, specifying which writing systems should be bigrammed.CJKWidthFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.cn
Subclasses of TokenStream in org.apache.lucene.analysis.cn Modifier and Type Class Description classChineseFilterDeprecated.UseStopFilterinstead, which has the same functionality.classChineseTokenizerDeprecated.UseStandardTokenizerinstead, which has the same functionality.Constructors in org.apache.lucene.analysis.cn with parameters of type TokenStream Constructor Description ChineseFilter(TokenStream in)Deprecated. -
Uses of TokenStream in org.apache.lucene.analysis.cn.smart
Subclasses of TokenStream in org.apache.lucene.analysis.cn.smart Modifier and Type Class Description classSentenceTokenizerTokenizes input text into sentences.classWordTokenFilterATokenFilterthat breaks sentences into words.Methods in org.apache.lucene.analysis.cn.smart that return TokenStream Modifier and Type Method Description TokenStreamSmartChineseAnalyzer. reusableTokenStream(String fieldName, Reader reader)TokenStreamSmartChineseAnalyzer. tokenStream(String fieldName, Reader reader)Constructors in org.apache.lucene.analysis.cn.smart with parameters of type TokenStream Constructor Description WordTokenFilter(TokenStream in)Construct a new WordTokenizer. -
Uses of TokenStream in org.apache.lucene.analysis.compound
Subclasses of TokenStream in org.apache.lucene.analysis.compound Modifier and Type Class Description classCompoundWordTokenFilterBaseBase class for decomposition token filters.classDictionaryCompoundWordTokenFilterATokenFilterthat decomposes compound words found in many Germanic languages.classHyphenationCompoundWordTokenFilterATokenFilterthat decomposes compound words found in many Germanic languages.Constructors in org.apache.lucene.analysis.compound with parameters of type TokenStream Constructor Description CompoundWordTokenFilterBase(TokenStream input, String[] dictionary)Deprecated.CompoundWordTokenFilterBase(TokenStream input, String[] dictionary, boolean onlyLongestMatch)Deprecated.CompoundWordTokenFilterBase(TokenStream input, String[] dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)Deprecated.CompoundWordTokenFilterBase(TokenStream input, Set<?> dictionary)Deprecated.CompoundWordTokenFilterBase(TokenStream input, Set<?> dictionary, boolean onlyLongestMatch)Deprecated.CompoundWordTokenFilterBase(TokenStream input, Set<?> dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)Deprecated.CompoundWordTokenFilterBase(Version matchVersion, TokenStream input, String[] dictionary)CompoundWordTokenFilterBase(Version matchVersion, TokenStream input, String[] dictionary, boolean onlyLongestMatch)CompoundWordTokenFilterBase(Version matchVersion, TokenStream input, String[] dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)CompoundWordTokenFilterBase(Version matchVersion, TokenStream input, Set<?> dictionary)CompoundWordTokenFilterBase(Version matchVersion, TokenStream input, Set<?> dictionary, boolean onlyLongestMatch)CompoundWordTokenFilterBase(Version matchVersion, TokenStream input, Set<?> dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)DictionaryCompoundWordTokenFilter(TokenStream input, String[] dictionary)Deprecated.DictionaryCompoundWordTokenFilter(TokenStream input, String[] dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)Deprecated.DictionaryCompoundWordTokenFilter(TokenStream input, Set dictionary)Deprecated.DictionaryCompoundWordTokenFilter(TokenStream input, Set dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)Deprecated.DictionaryCompoundWordTokenFilter(Version matchVersion, TokenStream input, String[] dictionary)Deprecated.Use the constructors takingSetDictionaryCompoundWordTokenFilter(Version matchVersion, TokenStream input, String[] dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)Deprecated.Use the constructors takingSetDictionaryCompoundWordTokenFilter(Version matchVersion, TokenStream input, Set<?> dictionary)Creates a newDictionaryCompoundWordTokenFilterDictionaryCompoundWordTokenFilter(Version matchVersion, TokenStream input, Set<?> dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)Creates a newDictionaryCompoundWordTokenFilterHyphenationCompoundWordTokenFilter(TokenStream input, HyphenationTree hyphenator, String[] dictionary)Deprecated.HyphenationCompoundWordTokenFilter(TokenStream input, HyphenationTree hyphenator, String[] dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)HyphenationCompoundWordTokenFilter(TokenStream input, HyphenationTree hyphenator, Set<?> dictionary)Deprecated.HyphenationCompoundWordTokenFilter(TokenStream input, HyphenationTree hyphenator, Set<?> dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)HyphenationCompoundWordTokenFilter(Version matchVersion, TokenStream input, HyphenationTree hyphenator)Create a HyphenationCompoundWordTokenFilter with no dictionary.HyphenationCompoundWordTokenFilter(Version matchVersion, TokenStream input, HyphenationTree hyphenator, int minWordSize, int minSubwordSize, int maxSubwordSize)Create a HyphenationCompoundWordTokenFilter with no dictionary.HyphenationCompoundWordTokenFilter(Version matchVersion, TokenStream input, HyphenationTree hyphenator, String[] dictionary)Deprecated.Use the constructors takingSetHyphenationCompoundWordTokenFilter(Version matchVersion, TokenStream input, HyphenationTree hyphenator, String[] dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)Deprecated.Use the constructors takingSetHyphenationCompoundWordTokenFilter(Version matchVersion, TokenStream input, HyphenationTree hyphenator, Set<?> dictionary)Creates a newHyphenationCompoundWordTokenFilterinstance.HyphenationCompoundWordTokenFilter(Version matchVersion, TokenStream input, HyphenationTree hyphenator, Set<?> dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)Creates a newHyphenationCompoundWordTokenFilterinstance. -
Uses of TokenStream in org.apache.lucene.analysis.cz
Subclasses of TokenStream in org.apache.lucene.analysis.cz Modifier and Type Class Description classCzechStemFilterATokenFilterthat appliesCzechStemmerto stem Czech words.Constructors in org.apache.lucene.analysis.cz with parameters of type TokenStream Constructor Description CzechStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.de
Subclasses of TokenStream in org.apache.lucene.analysis.de Modifier and Type Class Description classGermanLightStemFilterATokenFilterthat appliesGermanLightStemmerto stem German words.classGermanMinimalStemFilterATokenFilterthat appliesGermanMinimalStemmerto stem German words.classGermanNormalizationFilterNormalizes German characters according to the heuristics of the German2 snowball algorithm.classGermanStemFilterATokenFilterthat stems German words.Constructors in org.apache.lucene.analysis.de with parameters of type TokenStream Constructor Description GermanLightStemFilter(TokenStream input)GermanMinimalStemFilter(TokenStream input)GermanNormalizationFilter(TokenStream input)GermanStemFilter(TokenStream in)Creates aGermanStemFilterinstanceGermanStemFilter(TokenStream in, Set<?> exclusionSet)Deprecated.useKeywordAttributewithKeywordMarkerFilterinstead. -
Uses of TokenStream in org.apache.lucene.analysis.el
Subclasses of TokenStream in org.apache.lucene.analysis.el Modifier and Type Class Description classGreekLowerCaseFilterNormalizes token text to lower case, removes some Greek diacritics, and standardizes final sigma to sigma.classGreekStemFilterATokenFilterthat appliesGreekStemmerto stem Greek words.Constructors in org.apache.lucene.analysis.el with parameters of type TokenStream Constructor Description GreekLowerCaseFilter(TokenStream in)Deprecated.UseGreekLowerCaseFilter(Version, TokenStream)instead.GreekLowerCaseFilter(Version matchVersion, TokenStream in)Create a GreekLowerCaseFilter that normalizes Greek token text.GreekStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.en
Subclasses of TokenStream in org.apache.lucene.analysis.en Modifier and Type Class Description classEnglishMinimalStemFilterATokenFilterthat appliesEnglishMinimalStemmerto stem English words.classEnglishPossessiveFilterTokenFilter that removes possessives (trailing 's) from words.classKStemFilterA high-performance kstem filter for english.Constructors in org.apache.lucene.analysis.en with parameters of type TokenStream Constructor Description EnglishMinimalStemFilter(TokenStream input)EnglishPossessiveFilter(TokenStream input)Deprecated.UseEnglishPossessiveFilter(Version, TokenStream)instead.EnglishPossessiveFilter(Version version, TokenStream input)KStemFilter(TokenStream in) -
Uses of TokenStream in org.apache.lucene.analysis.es
Subclasses of TokenStream in org.apache.lucene.analysis.es Modifier and Type Class Description classSpanishLightStemFilterATokenFilterthat appliesSpanishLightStemmerto stem Spanish words.Constructors in org.apache.lucene.analysis.es with parameters of type TokenStream Constructor Description SpanishLightStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.fa
Subclasses of TokenStream in org.apache.lucene.analysis.fa Modifier and Type Class Description classPersianNormalizationFilterATokenFilterthat appliesPersianNormalizerto normalize the orthography.Constructors in org.apache.lucene.analysis.fa with parameters of type TokenStream Constructor Description PersianNormalizationFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.fi
Subclasses of TokenStream in org.apache.lucene.analysis.fi Modifier and Type Class Description classFinnishLightStemFilterATokenFilterthat appliesFinnishLightStemmerto stem Finnish words.Constructors in org.apache.lucene.analysis.fi with parameters of type TokenStream Constructor Description FinnishLightStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.fr
Subclasses of TokenStream in org.apache.lucene.analysis.fr Modifier and Type Class Description classElisionFilterRemoves elisions from aTokenStream.classFrenchLightStemFilterATokenFilterthat appliesFrenchLightStemmerto stem French words.classFrenchMinimalStemFilterATokenFilterthat appliesFrenchMinimalStemmerto stem French words.classFrenchStemFilterDeprecated.UseSnowballFilterwithFrenchStemmerinstead, which has the same functionality.Constructors in org.apache.lucene.analysis.fr with parameters of type TokenStream Constructor Description ElisionFilter(TokenStream input)Deprecated.useElisionFilter(Version, TokenStream)insteadElisionFilter(TokenStream input, String[] articles)Deprecated.useElisionFilter(Version, TokenStream, Set)insteadElisionFilter(TokenStream input, Set<?> articles)Deprecated.useElisionFilter(Version, TokenStream, Set)insteadElisionFilter(Version matchVersion, TokenStream input)Constructs an elision filter with standard stop wordsElisionFilter(Version matchVersion, TokenStream input, Set<?> articles)Constructs an elision filter with a Set of stop wordsFrenchLightStemFilter(TokenStream input)FrenchMinimalStemFilter(TokenStream input)FrenchStemFilter(TokenStream in)Deprecated.FrenchStemFilter(TokenStream in, Set<?> exclusiontable)Deprecated.useKeywordAttributewithKeywordMarkerFilterinstead. -
Uses of TokenStream in org.apache.lucene.analysis.ga
Subclasses of TokenStream in org.apache.lucene.analysis.ga Modifier and Type Class Description classIrishLowerCaseFilterNormalises token text to lower case, handling t-prothesis and n-eclipsis (i.e., that 'nAthair' should become 'n-athair')Constructors in org.apache.lucene.analysis.ga with parameters of type TokenStream Constructor Description IrishLowerCaseFilter(TokenStream in)Create an IrishLowerCaseFilter that normalises Irish token text. -
Uses of TokenStream in org.apache.lucene.analysis.gl
Subclasses of TokenStream in org.apache.lucene.analysis.gl Modifier and Type Class Description classGalicianMinimalStemFilterATokenFilterthat appliesGalicianMinimalStemmerto stem Galician words.classGalicianStemFilterATokenFilterthat appliesGalicianStemmerto stem Galician words.Constructors in org.apache.lucene.analysis.gl with parameters of type TokenStream Constructor Description GalicianMinimalStemFilter(TokenStream input)GalicianStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.hi
Subclasses of TokenStream in org.apache.lucene.analysis.hi Modifier and Type Class Description classHindiNormalizationFilterATokenFilterthat appliesHindiNormalizerto normalize the orthography.classHindiStemFilterATokenFilterthat appliesHindiStemmerto stem Hindi words.Constructors in org.apache.lucene.analysis.hi with parameters of type TokenStream Constructor Description HindiNormalizationFilter(TokenStream input)HindiStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.hu
Subclasses of TokenStream in org.apache.lucene.analysis.hu Modifier and Type Class Description classHungarianLightStemFilterATokenFilterthat appliesHungarianLightStemmerto stem Hungarian words.Constructors in org.apache.lucene.analysis.hu with parameters of type TokenStream Constructor Description HungarianLightStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.hunspell
Subclasses of TokenStream in org.apache.lucene.analysis.hunspell Modifier and Type Class Description classHunspellStemFilterTokenFilter that uses hunspell affix rules and words to stem tokens.Constructors in org.apache.lucene.analysis.hunspell with parameters of type TokenStream Constructor Description HunspellStemFilter(TokenStream input, HunspellDictionary dictionary)Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided HunspellDictionaryHunspellStemFilter(TokenStream input, HunspellDictionary dictionary, boolean dedup)Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided HunspellDictionary -
Uses of TokenStream in org.apache.lucene.analysis.icu
Subclasses of TokenStream in org.apache.lucene.analysis.icu Modifier and Type Class Description classICUFoldingFilterA TokenFilter that applies search term folding to Unicode text, applying foldings from UTR#30 Character Foldings.classICUNormalizer2FilterNormalize token text with ICU'sNormalizer2classICUTransformFilterATokenFilterthat transforms text with ICU.Constructors in org.apache.lucene.analysis.icu with parameters of type TokenStream Constructor Description ICUFoldingFilter(TokenStream input)Create a new ICUFoldingFilter on the specified inputICUNormalizer2Filter(TokenStream input)Create a new Normalizer2Filter that combines NFKC normalization, Case Folding, and removes Default Ignorables (NFKC_Casefold)ICUNormalizer2Filter(TokenStream input, com.ibm.icu.text.Normalizer2 normalizer)Create a new Normalizer2Filter with the specified Normalizer2ICUTransformFilter(TokenStream input, com.ibm.icu.text.Transliterator transform)Create a new ICUTransformFilter that transforms text on the given stream. -
Uses of TokenStream in org.apache.lucene.analysis.icu.segmentation
Subclasses of TokenStream in org.apache.lucene.analysis.icu.segmentation Modifier and Type Class Description classICUTokenizerBreaks text into words according to UAX #29: Unicode Text Segmentation (http://www.unicode.org/reports/tr29/) -
Uses of TokenStream in org.apache.lucene.analysis.id
Subclasses of TokenStream in org.apache.lucene.analysis.id Modifier and Type Class Description classIndonesianStemFilterATokenFilterthat appliesIndonesianStemmerto stem Indonesian words.Constructors in org.apache.lucene.analysis.id with parameters of type TokenStream Constructor Description IndonesianStemFilter(TokenStream input)IndonesianStemFilter(TokenStream input, boolean stemDerivational)Create a new IndonesianStemFilter. -
Uses of TokenStream in org.apache.lucene.analysis.in
Subclasses of TokenStream in org.apache.lucene.analysis.in Modifier and Type Class Description classIndicNormalizationFilterATokenFilterthat appliesIndicNormalizerto normalize text in Indian Languages.classIndicTokenizerDeprecated.(3.6) UseStandardTokenizerinstead.Constructors in org.apache.lucene.analysis.in with parameters of type TokenStream Constructor Description IndicNormalizationFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.it
Subclasses of TokenStream in org.apache.lucene.analysis.it Modifier and Type Class Description classItalianLightStemFilterATokenFilterthat appliesItalianLightStemmerto stem Italian words.Constructors in org.apache.lucene.analysis.it with parameters of type TokenStream Constructor Description ItalianLightStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.ja
Subclasses of TokenStream in org.apache.lucene.analysis.ja Modifier and Type Class Description classJapaneseBaseFormFilterReplaces term text with theBaseFormAttribute.classJapaneseKatakanaStemFilterATokenFilterthat normalizes common katakana spelling variations ending in a long sound character by removing this character (U+30FC).classJapanesePartOfSpeechStopFilterRemoves tokens that match a set of part-of-speech tags.classJapaneseReadingFormFilterATokenFilterthat replaces the term attribute with the reading of a token in either katakana or romaji form.classJapaneseTokenizerTokenizer for Japanese that uses morphological analysis.Constructors in org.apache.lucene.analysis.ja with parameters of type TokenStream Constructor Description JapaneseBaseFormFilter(TokenStream input)JapaneseKatakanaStemFilter(TokenStream input)JapaneseKatakanaStemFilter(TokenStream input, int minimumLength)JapanesePartOfSpeechStopFilter(boolean enablePositionIncrements, TokenStream input, Set<String> stopTags)JapaneseReadingFormFilter(TokenStream input)JapaneseReadingFormFilter(TokenStream input, boolean useRomaji) -
Uses of TokenStream in org.apache.lucene.analysis.lv
Subclasses of TokenStream in org.apache.lucene.analysis.lv Modifier and Type Class Description classLatvianStemFilterATokenFilterthat appliesLatvianStemmerto stem Latvian words.Constructors in org.apache.lucene.analysis.lv with parameters of type TokenStream Constructor Description LatvianStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.miscellaneous
Subclasses of TokenStream in org.apache.lucene.analysis.miscellaneous Modifier and Type Class Description classEmptyTokenStreamAn always exhausted token stream.classPrefixAndSuffixAwareTokenFilterLinks twoPrefixAwareTokenFilter.classPrefixAwareTokenFilterJoins two token streams and leaves the last token of the first stream available to be used when updating the token values in the second stream based on that token.classSingleTokenTokenStreamATokenStreamcontaining a single token.classStemmerOverrideFilterProvides the ability to override anyKeywordAttributeaware stemmer with custom dictionary-based stemming.Methods in org.apache.lucene.analysis.miscellaneous that return TokenStream Modifier and Type Method Description TokenStreamPrefixAwareTokenFilter. getPrefix()TokenStreamPrefixAwareTokenFilter. getSuffix()Methods in org.apache.lucene.analysis.miscellaneous with parameters of type TokenStream Modifier and Type Method Description voidPrefixAwareTokenFilter. setPrefix(TokenStream prefix)voidPrefixAwareTokenFilter. setSuffix(TokenStream suffix)Constructors in org.apache.lucene.analysis.miscellaneous with parameters of type TokenStream Constructor Description PrefixAndSuffixAwareTokenFilter(TokenStream prefix, TokenStream input, TokenStream suffix)PrefixAwareTokenFilter(TokenStream prefix, TokenStream suffix)StemmerOverrideFilter(Version matchVersion, TokenStream input, Map<?,String> dictionary)Create a new StemmerOverrideFilter, performing dictionary-based stemming with the provideddictionary. -
Uses of TokenStream in org.apache.lucene.analysis.ngram
Subclasses of TokenStream in org.apache.lucene.analysis.ngram Modifier and Type Class Description classEdgeNGramTokenFilterTokenizes the given token into n-grams of given size(s).classEdgeNGramTokenizerTokenizes the input from an edge into n-grams of given size(s).classNGramTokenFilterTokenizes the input into n-grams of the given size(s).classNGramTokenizerTokenizes the input into n-grams of the given size(s).Constructors in org.apache.lucene.analysis.ngram with parameters of type TokenStream Constructor Description EdgeNGramTokenFilter(TokenStream input, String sideLabel, int minGram, int maxGram)Creates EdgeNGramTokenFilter that can generate n-grams in the sizes of the given rangeEdgeNGramTokenFilter(TokenStream input, EdgeNGramTokenFilter.Side side, int minGram, int maxGram)Creates EdgeNGramTokenFilter that can generate n-grams in the sizes of the given rangeNGramTokenFilter(TokenStream input)Creates NGramTokenFilter with default min and max n-grams.NGramTokenFilter(TokenStream input, int minGram, int maxGram)Creates NGramTokenFilter with given min and max n-grams. -
Uses of TokenStream in org.apache.lucene.analysis.nl
Subclasses of TokenStream in org.apache.lucene.analysis.nl Modifier and Type Class Description classDutchStemFilterDeprecated.UseSnowballFilterwithDutchStemmerinstead, which has the same functionality.Constructors in org.apache.lucene.analysis.nl with parameters of type TokenStream Constructor Description DutchStemFilter(TokenStream _in)Deprecated.DutchStemFilter(TokenStream _in, Map<?,?> stemdictionary)Deprecated.DutchStemFilter(TokenStream _in, Set<?> exclusiontable)Deprecated.useKeywordAttributewithKeywordMarkerFilterinstead.DutchStemFilter(TokenStream _in, Set<?> exclusiontable, Map<?,?> stemdictionary)Deprecated.useKeywordAttributewithKeywordMarkerFilterinstead. -
Uses of TokenStream in org.apache.lucene.analysis.no
Subclasses of TokenStream in org.apache.lucene.analysis.no Modifier and Type Class Description classNorwegianLightStemFilterATokenFilterthat appliesNorwegianLightStemmerto stem Norwegian words.classNorwegianMinimalStemFilterATokenFilterthat appliesNorwegianMinimalStemmerto stem Norwegian words.Constructors in org.apache.lucene.analysis.no with parameters of type TokenStream Constructor Description NorwegianLightStemFilter(TokenStream input)NorwegianMinimalStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.path
Subclasses of TokenStream in org.apache.lucene.analysis.path Modifier and Type Class Description classPathHierarchyTokenizerTokenizer for path-like hierarchies.classReversePathHierarchyTokenizerTokenizer for domain-like hierarchies. -
Uses of TokenStream in org.apache.lucene.analysis.payloads
Subclasses of TokenStream in org.apache.lucene.analysis.payloads Modifier and Type Class Description classDelimitedPayloadTokenFilterCharacters before the delimiter are the "token", those after are the payload.classNumericPayloadTokenFilterAssigns a payload to a token based on theToken.type()classTokenOffsetPayloadTokenFilterAdds theToken.setStartOffset(int)andToken.setEndOffset(int)First 4 bytes are the startclassTypeAsPayloadTokenFilterMakes theToken.type()a payload.Constructors in org.apache.lucene.analysis.payloads with parameters of type TokenStream Constructor Description DelimitedPayloadTokenFilter(TokenStream input, char delimiter, PayloadEncoder encoder)NumericPayloadTokenFilter(TokenStream input, float payload, String typeMatch)TokenOffsetPayloadTokenFilter(TokenStream input)TypeAsPayloadTokenFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.phonetic
Subclasses of TokenStream in org.apache.lucene.analysis.phonetic Modifier and Type Class Description classBeiderMorseFilterTokenFilter for Beider-Morse phonetic encoding.classDoubleMetaphoneFilterFilter for DoubleMetaphone (supporting secondary codes)classPhoneticFilterCreate tokens for phonetic matches.Constructors in org.apache.lucene.analysis.phonetic with parameters of type TokenStream Constructor Description BeiderMorseFilter(TokenStream input, org.apache.commons.codec.language.bm.PhoneticEngine engine)BeiderMorseFilter(TokenStream input, org.apache.commons.codec.language.bm.PhoneticEngine engine, org.apache.commons.codec.language.bm.Languages.LanguageSet languages)Create a new BeiderMorseFilterDoubleMetaphoneFilter(TokenStream input, int maxCodeLength, boolean inject)PhoneticFilter(TokenStream in, org.apache.commons.codec.Encoder encoder, boolean inject) -
Uses of TokenStream in org.apache.lucene.analysis.position
Subclasses of TokenStream in org.apache.lucene.analysis.position Modifier and Type Class Description classPositionFilterSet the positionIncrement of all tokens to the "positionIncrement", except the first return token which retains its original positionIncrement value.Constructors in org.apache.lucene.analysis.position with parameters of type TokenStream Constructor Description PositionFilter(TokenStream input)Constructs a PositionFilter that assigns a position increment of zero to all but the first token from the given input stream.PositionFilter(TokenStream input, int positionIncrement)Constructs a PositionFilter that assigns the given position increment to all but the first token from the given input stream. -
Uses of TokenStream in org.apache.lucene.analysis.pt
Subclasses of TokenStream in org.apache.lucene.analysis.pt Modifier and Type Class Description classPortugueseLightStemFilterATokenFilterthat appliesPortugueseLightStemmerto stem Portuguese words.classPortugueseMinimalStemFilterATokenFilterthat appliesPortugueseMinimalStemmerto stem Portuguese words.classPortugueseStemFilterATokenFilterthat appliesPortugueseStemmerto stem Portuguese words.Constructors in org.apache.lucene.analysis.pt with parameters of type TokenStream Constructor Description PortugueseLightStemFilter(TokenStream input)PortugueseMinimalStemFilter(TokenStream input)PortugueseStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.query
Methods in org.apache.lucene.analysis.query that return TokenStream Modifier and Type Method Description TokenStreamQueryAutoStopWordAnalyzer. reusableTokenStream(String fieldName, Reader reader)TokenStreamQueryAutoStopWordAnalyzer. tokenStream(String fieldName, Reader reader) -
Uses of TokenStream in org.apache.lucene.analysis.reverse
Subclasses of TokenStream in org.apache.lucene.analysis.reverse Modifier and Type Class Description classReverseStringFilterReverse token string, for example "country" => "yrtnuoc".Constructors in org.apache.lucene.analysis.reverse with parameters of type TokenStream Constructor Description ReverseStringFilter(TokenStream in)Deprecated.useReverseStringFilter(Version, TokenStream)instead.ReverseStringFilter(TokenStream in, char marker)Deprecated.useReverseStringFilter(Version, TokenStream, char)instead.ReverseStringFilter(Version matchVersion, TokenStream in)Create a new ReverseStringFilter that reverses all tokens in the suppliedTokenStream.ReverseStringFilter(Version matchVersion, TokenStream in, char marker)Create a new ReverseStringFilter that reverses and marks all tokens in the suppliedTokenStream. -
Uses of TokenStream in org.apache.lucene.analysis.ru
Subclasses of TokenStream in org.apache.lucene.analysis.ru Modifier and Type Class Description classRussianLetterTokenizerDeprecated.UseStandardTokenizerinstead, which has the same functionality.classRussianLightStemFilterATokenFilterthat appliesRussianLightStemmerto stem Russian words.classRussianLowerCaseFilterDeprecated.UseLowerCaseFilterinstead, which has the same functionality.classRussianStemFilterDeprecated.UseSnowballFilterwithRussianStemmerinstead, which has the same functionality.Constructors in org.apache.lucene.analysis.ru with parameters of type TokenStream Constructor Description RussianLightStemFilter(TokenStream input)RussianLowerCaseFilter(TokenStream in)Deprecated.RussianStemFilter(TokenStream in)Deprecated. -
Uses of TokenStream in org.apache.lucene.analysis.shingle
Subclasses of TokenStream in org.apache.lucene.analysis.shingle Modifier and Type Class Description classShingleFilterA ShingleFilter constructs shingles (token n-grams) from a token stream.classShingleMatrixFilterDeprecated.Will be removed in Lucene 4.0.Methods in org.apache.lucene.analysis.shingle that return TokenStream Modifier and Type Method Description TokenStreamShingleAnalyzerWrapper. reusableTokenStream(String fieldName, Reader reader)TokenStreamShingleAnalyzerWrapper. tokenStream(String fieldName, Reader reader)Constructors in org.apache.lucene.analysis.shingle with parameters of type TokenStream Constructor Description ShingleFilter(TokenStream input)Construct a ShingleFilter with default shingle size: 2.ShingleFilter(TokenStream input, int maxShingleSize)Constructs a ShingleFilter with the specified shingle size from theTokenStreaminputShingleFilter(TokenStream input, int minShingleSize, int maxShingleSize)Constructs a ShingleFilter with the specified shingle size from theTokenStreaminputShingleFilter(TokenStream input, String tokenType)Construct a ShingleFilter with the specified token type for shingle tokens and the default shingle size: 2ShingleMatrixFilter(TokenStream input, int minimumShingleSize, int maximumShingleSize)Deprecated.Creates a shingle filter using default settings.ShingleMatrixFilter(TokenStream input, int minimumShingleSize, int maximumShingleSize, Character spacerCharacter)Deprecated.Creates a shingle filter using default settings.ShingleMatrixFilter(TokenStream input, int minimumShingleSize, int maximumShingleSize, Character spacerCharacter, boolean ignoringSinglePrefixOrSuffixShingle)Deprecated.Creates a shingle filter using the defaultShingleMatrixFilter.TokenSettingsCodec.ShingleMatrixFilter(TokenStream input, int minimumShingleSize, int maximumShingleSize, Character spacerCharacter, boolean ignoringSinglePrefixOrSuffixShingle, ShingleMatrixFilter.TokenSettingsCodec settingsCodec)Deprecated.Creates a shingle filter with ad hoc parameter settings. -
Uses of TokenStream in org.apache.lucene.analysis.snowball
Subclasses of TokenStream in org.apache.lucene.analysis.snowball Modifier and Type Class Description classSnowballFilterA filter that stems words using a Snowball-generated stemmer.Methods in org.apache.lucene.analysis.snowball that return TokenStream Modifier and Type Method Description TokenStreamSnowballAnalyzer. reusableTokenStream(String fieldName, Reader reader)Deprecated.Returns a (possibly reused)StandardTokenizerfiltered by aStandardFilter, aLowerCaseFilter, aStopFilter, and aSnowballFilterTokenStreamSnowballAnalyzer. tokenStream(String fieldName, Reader reader)Deprecated.Constructs aStandardTokenizerfiltered by aStandardFilter, aLowerCaseFilter, aStopFilter, and aSnowballFilterConstructors in org.apache.lucene.analysis.snowball with parameters of type TokenStream Constructor Description SnowballFilter(TokenStream in, String name)Construct the named stemming filter.SnowballFilter(TokenStream input, SnowballProgram stemmer) -
Uses of TokenStream in org.apache.lucene.analysis.standard
Subclasses of TokenStream 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 TokenStream Constructor Description ClassicFilter(TokenStream in)Construct filtering in.StandardFilter(TokenStream in)Deprecated.UseStandardFilter(Version, TokenStream)instead.StandardFilter(Version matchVersion, TokenStream in) -
Uses of TokenStream in org.apache.lucene.analysis.stempel
Subclasses of TokenStream in org.apache.lucene.analysis.stempel Modifier and Type Class Description classStempelFilterTransforms the token stream as per the stemming algorithm.Constructors in org.apache.lucene.analysis.stempel with parameters of type TokenStream Constructor Description StempelFilter(TokenStream in, StempelStemmer stemmer)Create filter using the supplied stemming table.StempelFilter(TokenStream in, StempelStemmer stemmer, int minLength)Create filter using the supplied stemming table. -
Uses of TokenStream in org.apache.lucene.analysis.sv
Subclasses of TokenStream in org.apache.lucene.analysis.sv Modifier and Type Class Description classSwedishLightStemFilterATokenFilterthat appliesSwedishLightStemmerto stem Swedish words.Constructors in org.apache.lucene.analysis.sv with parameters of type TokenStream Constructor Description SwedishLightStemFilter(TokenStream input) -
Uses of TokenStream in org.apache.lucene.analysis.synonym
Subclasses of TokenStream in org.apache.lucene.analysis.synonym Modifier and Type Class Description classSynonymFilterMatches single or multi word synonyms in a token stream.Constructors in org.apache.lucene.analysis.synonym with parameters of type TokenStream Constructor Description SynonymFilter(TokenStream input, SynonymMap synonyms, boolean ignoreCase) -
Uses of TokenStream in org.apache.lucene.analysis.th
Subclasses of TokenStream in org.apache.lucene.analysis.th Modifier and Type Class Description classThaiWordFilterTokenFilterthat useBreakIteratorto break each Token that is Thai into separate Token(s) for each Thai word.Constructors in org.apache.lucene.analysis.th with parameters of type TokenStream Constructor Description ThaiWordFilter(TokenStream input)Deprecated.Use the ctor withmatchVersioninstead!ThaiWordFilter(Version matchVersion, TokenStream input)Creates a new ThaiWordFilter with the specified match version. -
Uses of TokenStream in org.apache.lucene.analysis.tr
Subclasses of TokenStream in org.apache.lucene.analysis.tr Modifier and Type Class Description classTurkishLowerCaseFilterNormalizes Turkish token text to lower case.Constructors in org.apache.lucene.analysis.tr with parameters of type TokenStream Constructor Description TurkishLowerCaseFilter(TokenStream in)Create a new TurkishLowerCaseFilter, that normalizes Turkish token text to lower case. -
Uses of TokenStream in org.apache.lucene.analysis.wikipedia
Subclasses of TokenStream in org.apache.lucene.analysis.wikipedia Modifier and Type Class Description classWikipediaTokenizerExtension of StandardTokenizer that is aware of Wikipedia syntax. -
Uses of TokenStream in org.apache.lucene.collation
Subclasses of TokenStream 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.classICUCollationKeyFilterConverts each token into itsCollationKey, and then encodes the CollationKey withIndexableBinaryStringTools, to allow it to be stored as an index term.Methods in org.apache.lucene.collation that return TokenStream Modifier and Type Method Description TokenStreamCollationKeyAnalyzer. reusableTokenStream(String fieldName, Reader reader)TokenStreamICUCollationKeyAnalyzer. reusableTokenStream(String fieldName, Reader reader)TokenStreamCollationKeyAnalyzer. tokenStream(String fieldName, Reader reader)TokenStreamICUCollationKeyAnalyzer. tokenStream(String fieldName, Reader reader)Constructors in org.apache.lucene.collation with parameters of type TokenStream Constructor Description CollationKeyFilter(TokenStream input, Collator collator)ICUCollationKeyFilter(TokenStream input, com.ibm.icu.text.Collator collator) -
Uses of TokenStream in org.apache.lucene.document
Fields in org.apache.lucene.document declared as TokenStream Modifier and Type Field Description protected TokenStreamAbstractField. tokenStreamMethods in org.apache.lucene.document that return TokenStream Modifier and Type Method Description TokenStreamField. tokenStreamValue()The TokesStream for this field to be used when indexing, or null.TokenStreamFieldable. tokenStreamValue()The TokenStream for this field to be used when indexing, or null.TokenStreamNumericField. tokenStreamValue()Returns aNumericTokenStreamfor indexing the numeric value.Methods in org.apache.lucene.document with parameters of type TokenStream Modifier and Type Method Description voidField. setTokenStream(TokenStream tokenStream)Expert: sets the token stream to be used for indexing and causes isIndexed() and isTokenized() to return true.Constructors in org.apache.lucene.document with parameters of type TokenStream Constructor Description Field(String name, TokenStream tokenStream)Create a tokenized and indexed field that is not stored.Field(String name, TokenStream tokenStream, Field.TermVector termVector)Create a tokenized and indexed field that is not stored, optionally with storing term vectors. -
Uses of TokenStream in org.apache.lucene.facet.enhancements
Subclasses of TokenStream in org.apache.lucene.facet.enhancements Modifier and Type Class Description classEnhancementsCategoryTokenizerA tokenizer which adds to each category token payload according to theCategoryEnhancements defined in the givenEnhancementsIndexingParams.Methods in org.apache.lucene.facet.enhancements that return TokenStream Modifier and Type Method Description protected TokenStreamEnhancementsDocumentBuilder. getParentsStream(CategoryAttributesStream categoryAttributesStream)Methods in org.apache.lucene.facet.enhancements with parameters of type TokenStream Modifier and Type Method Description CategoryListTokenizerCategoryEnhancement. getCategoryListTokenizer(TokenStream tokenizer, EnhancementsIndexingParams indexingParams, TaxonomyWriter taxonomyWriter)Get theCategoryListTokenizerwhich generates the category list for this enhancement.protected CategoryListTokenizerEnhancementsDocumentBuilder. getCategoryListTokenizer(TokenStream categoryStream)protected CategoryTokenizerEnhancementsDocumentBuilder. getCategoryTokenizer(TokenStream categoryStream)Constructors in org.apache.lucene.facet.enhancements with parameters of type TokenStream Constructor Description EnhancementsCategoryTokenizer(TokenStream input, EnhancementsIndexingParams indexingParams)Constructor. -
Uses of TokenStream in org.apache.lucene.facet.enhancements.association
Subclasses of TokenStream in org.apache.lucene.facet.enhancements.association Modifier and Type Class Description classAssociationListTokenizerTokenizer for associations of a categoryMethods in org.apache.lucene.facet.enhancements.association with parameters of type TokenStream Modifier and Type Method Description CategoryListTokenizerAssociationEnhancement. getCategoryListTokenizer(TokenStream tokenizer, EnhancementsIndexingParams indexingParams, TaxonomyWriter taxonomyWriter)Constructors in org.apache.lucene.facet.enhancements.association with parameters of type TokenStream Constructor Description AssociationListTokenizer(TokenStream input, EnhancementsIndexingParams indexingParams, CategoryEnhancement enhancement) -
Uses of TokenStream in org.apache.lucene.facet.index
Methods in org.apache.lucene.facet.index that return TokenStream Modifier and Type Method Description protected TokenStreamCategoryDocumentBuilder. getParentsStream(CategoryAttributesStream categoryAttributesStream)Get a stream of categories which includes the parents, according to policies defined in indexing parameters.Methods in org.apache.lucene.facet.index with parameters of type TokenStream Modifier and Type Method Description protected CategoryListTokenizerCategoryDocumentBuilder. getCategoryListTokenizer(TokenStream categoryStream)Get a category list tokenizer (or a series of such tokenizers) to create the category list tokens.protected CategoryTokenizerCategoryDocumentBuilder. getCategoryTokenizer(TokenStream categoryStream)Get aCategoryTokenizerto create the category tokens.protected CountingListTokenizerCategoryDocumentBuilder. getCountingListTokenizer(TokenStream categoryStream)Get aCountingListTokenizerfor creating counting list token. -
Uses of TokenStream in org.apache.lucene.facet.index.streaming
Subclasses of TokenStream in org.apache.lucene.facet.index.streaming Modifier and Type Class Description classCategoryAttributesStreamAn attribute stream built from anIterableofCategoryAttribute.classCategoryListTokenizerA base class for category list tokenizers, which add category list tokens to category streams.classCategoryParentsStreamThis class adds parents to aCategoryAttributesStream.classCategoryTokenizerBasic class for setting theCharTermAttributes andPayloadAttributes of category tokens.classCategoryTokenizerBaseA base class for all token filters which add term and payload attributes to tokens and are to be used inCategoryDocumentBuilder.classCountingListTokenizerCategoryListTokenizerfor facet countingConstructors in org.apache.lucene.facet.index.streaming with parameters of type TokenStream Constructor Description CategoryListTokenizer(TokenStream input, FacetIndexingParams indexingParams)CategoryTokenizer(TokenStream input, FacetIndexingParams indexingParams)CategoryTokenizerBase(TokenStream input, FacetIndexingParams indexingParams)Constructor.CountingListTokenizer(TokenStream input, FacetIndexingParams indexingParams) -
Uses of TokenStream in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory that return TokenStream Modifier and Type Method Description <T> TokenStreamMemoryIndex. keywordTokenStream(Collection<T> keywords)Convenience method; Creates and returns a token stream that generates a token for each keyword in the given collection, "as is", without any transforming text analysis.Methods in org.apache.lucene.index.memory with parameters of type TokenStream Modifier and Type Method Description voidMemoryIndex. addField(String fieldName, TokenStream stream)Equivalent toaddField(fieldName, stream, 1.0f).voidMemoryIndex. addField(String fieldName, TokenStream stream, float boost)Iterates over the given token stream and adds the resulting terms to the index; Equivalent to adding a tokenized, indexed, termVectorStored, unstored, LuceneField. -
Uses of TokenStream in org.apache.lucene.queryParser
Subclasses of TokenStream in org.apache.lucene.queryParser Modifier and Type Class Description static classQueryParserTestBase.QPTestFilterFilter which discards the token 'stop' and which expands the token 'phrase' into 'phrase1 phrase2'Methods in org.apache.lucene.queryParser that return TokenStream Modifier and Type Method Description TokenStreamQueryParserTestBase.QPTestAnalyzer. tokenStream(String fieldName, Reader reader)Constructors in org.apache.lucene.queryParser with parameters of type TokenStream Constructor Description QPTestFilter(TokenStream in) -
Uses of TokenStream in org.apache.lucene.search.highlight
Subclasses of TokenStream in org.apache.lucene.search.highlight Modifier and Type Class Description classOffsetLimitTokenFilterThis TokenFilter limits the number of tokens while indexing by adding up the current offset.classTokenStreamFromTermPositionVectorMethods in org.apache.lucene.search.highlight that return TokenStream Modifier and Type Method Description static TokenStreamTokenSources. getAnyTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer)A convenience method that tries a number of approaches to getting a token stream.static TokenStreamTokenSources. getAnyTokenStream(IndexReader reader, int docId, String field, Document doc, Analyzer analyzer)A convenience method that tries to first get a TermPositionVector for the specified docId, then, falls back to using the passed inDocumentto retrieve the TokenStream.static TokenStreamTokenSources. getTokenStream(String field, String contents, Analyzer analyzer)static TokenStreamTokenSources. getTokenStream(Document doc, String field, Analyzer analyzer)static TokenStreamTokenSources. getTokenStream(IndexReader reader, int docId, String field)static TokenStreamTokenSources. getTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer)static TokenStreamTokenSources. getTokenStream(TermPositionVector tpv)static TokenStreamTokenSources. getTokenStream(TermPositionVector tpv, boolean tokenPositionsGuaranteedContiguous)Low level api.TokenStreamWeightedSpanTermExtractor. getTokenStream()TokenStreamQueryScorer. init(TokenStream tokenStream)TokenStreamQueryTermScorer. init(TokenStream tokenStream)TokenStreamScorer. init(TokenStream tokenStream)Called to init the Scorer with aTokenStream.Methods in org.apache.lucene.search.highlight with parameters of type TokenStream Modifier and Type Method Description StringHighlighter. getBestFragment(TokenStream tokenStream, String text)Highlights chosen terms in a text, extracting the most relevant section.String[]Highlighter. getBestFragments(TokenStream tokenStream, String text, int maxNumFragments)Highlights chosen terms in a text, extracting the most relevant sections.StringHighlighter. getBestFragments(TokenStream tokenStream, String text, int maxNumFragments, String separator)Highlights terms in the text , extracting the most relevant sections and concatenating the chosen fragments with a separator (typically "...").TextFragment[]Highlighter. getBestTextFragments(TokenStream tokenStream, String text, boolean mergeContiguousFragments, int maxNumFragments)Low level api to get the most relevant (formatted) sections of the document.Map<String,WeightedSpanTerm>WeightedSpanTermExtractor. getWeightedSpanTerms(Query query, TokenStream tokenStream)Creates a Map ofWeightedSpanTermsfrom the givenQueryandTokenStream.Map<String,WeightedSpanTerm>WeightedSpanTermExtractor. getWeightedSpanTerms(Query query, TokenStream tokenStream, String fieldName)Creates a Map ofWeightedSpanTermsfrom the givenQueryandTokenStream.Map<String,WeightedSpanTerm>WeightedSpanTermExtractor. getWeightedSpanTermsWithScores(Query query, TokenStream tokenStream, String fieldName, IndexReader reader)Creates a Map ofWeightedSpanTermsfrom the givenQueryandTokenStream.TokenStreamQueryScorer. init(TokenStream tokenStream)TokenStreamQueryTermScorer. init(TokenStream tokenStream)TokenStreamScorer. init(TokenStream tokenStream)Called to init the Scorer with aTokenStream.voidFragmenter. start(String originalText, TokenStream tokenStream)Initializes the Fragmenter.voidNullFragmenter. start(String s, TokenStream tokenStream)voidSimpleFragmenter. start(String originalText, TokenStream stream)voidSimpleSpanFragmenter. start(String originalText, TokenStream tokenStream)Constructors in org.apache.lucene.search.highlight with parameters of type TokenStream Constructor Description OffsetLimitTokenFilter(TokenStream input, int offsetLimit)TokenGroup(TokenStream tokenStream)
-