Uses of Class
org.apache.lucene.util.Version
-
Packages that use Version 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.ca Analyzer for Catalan.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.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.da Analyzer for Danish.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.eu Analyzer for Basque.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.hy Analyzer for Armenian.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.nl Analyzer for Dutch.org.apache.lucene.analysis.no Analyzer for Norwegian.org.apache.lucene.analysis.pl Analyzer for Polish.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.ro Analyzer for Romanian.org.apache.lucene.analysis.ru Analyzer for Russian.org.apache.lucene.analysis.shingle Word n-gram filtersorg.apache.lucene.analysis.snowball TokenFilter
andAnalyzer
implementations that use Snowball stemmers.org.apache.lucene.analysis.standard Standards-based analyzers implemented with JFlex.org.apache.lucene.analysis.sv Analyzer for Swedish.org.apache.lucene.analysis.th Analyzer for Thai.org.apache.lucene.analysis.tr Analyzer for Turkish.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.queryParser A simple query parser implemented with JavaCC.org.apache.lucene.queryParser.analyzing QueryParser that passes Fuzzy-, Prefix-, Range-, and WildcardQuerys through the given analyzer.org.apache.lucene.queryParser.complexPhrase QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"org.apache.lucene.queryParser.ext Extendable QueryParser provides a simple and flexible extension mechanism by overloading query field names.org.apache.lucene.util Some utility classes. -
-
Uses of Version in org.apache.lucene.analysis
Fields in org.apache.lucene.analysis declared as Version Modifier and Type Field Description protected Version
StopwordAnalyzerBase. matchVersion
Methods in org.apache.lucene.analysis with parameters of type Version Modifier and Type Method Description static <V> CharArrayMap<V>
CharArrayMap. copy(Version matchVersion, Map<?,? extends V> map)
Returns a copy of the given map as aCharArrayMap
.static CharArraySet
CharArraySet. copy(Version matchVersion, Set<?> set)
Returns a copy of the given set as aCharArraySet
.static boolean
StopFilter. getEnablePositionIncrementsVersionDefault(Version matchVersion)
Deprecated.useStopFilter(Version, TokenStream, Set)
insteadstatic CharArraySet
WordlistLoader. getSnowballWordSet(Reader reader, Version matchVersion)
Reads stopwords from a stopword list in Snowball format.static CharArraySet
WordlistLoader. getWordSet(Reader reader, String comment, Version matchVersion)
Reads lines from a Reader and adds every non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
WordlistLoader. getWordSet(Reader reader, Version matchVersion)
Reads lines from a Reader and adds every line as an entry to a CharArraySet (omitting leading and trailing whitespace).protected static CharArraySet
StopwordAnalyzerBase. loadStopwordSet(File stopwords, Version matchVersion)
Creates a CharArraySet from a file.protected static CharArraySet
StopwordAnalyzerBase. loadStopwordSet(Reader stopwords, Version matchVersion)
Creates a CharArraySet from a file.static Set<Object>
StopFilter. makeStopSet(Version matchVersion, String... stopWords)
Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor.static Set<Object>
StopFilter. makeStopSet(Version matchVersion, String[] stopWords, boolean ignoreCase)
Creates a stopword set from the given stopword array.static Set<Object>
StopFilter. makeStopSet(Version matchVersion, List<?> stopWords)
Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor.static Set<Object>
StopFilter. makeStopSet(Version matchVersion, List<?> stopWords, boolean ignoreCase)
Creates a stopword set from the given stopword list.Constructors in org.apache.lucene.analysis with parameters of type Version Constructor Description CharArrayMap(Version matchVersion, int startSize, boolean ignoreCase)
Create map with enough capacity to hold startSize termsCharArrayMap(Version matchVersion, Map<?,? extends V> c, boolean ignoreCase)
Creates a map from the mappings in another map.CharArraySet(Version matchVersion, int startSize, boolean ignoreCase)
Create set with enough capacity to hold startSize termsCharArraySet(Version matchVersion, Collection<?> c, boolean ignoreCase)
Creates a set from a Collection of objects.CharTokenizer(Version matchVersion, Reader input)
Creates a newCharTokenizer
instanceCharTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Creates a newCharTokenizer
instanceCharTokenizer(Version matchVersion, AttributeSource source, Reader input)
Creates a newCharTokenizer
instanceLetterTokenizer(Version matchVersion, Reader in)
Construct a new LetterTokenizer.LetterTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Construct a new LetterTokenizer using a givenAttributeSource.AttributeFactory
.LetterTokenizer(Version matchVersion, AttributeSource source, Reader in)
Construct a new LetterTokenizer using a givenAttributeSource
.LowerCaseFilter(Version matchVersion, TokenStream in)
Create a new LowerCaseFilter, that normalizes token text to lower case.LowerCaseTokenizer(Version matchVersion, Reader in)
Construct a new LowerCaseTokenizer.LowerCaseTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Construct a new LowerCaseTokenizer using a givenAttributeSource.AttributeFactory
.LowerCaseTokenizer(Version matchVersion, AttributeSource source, Reader in)
Construct a new LowerCaseTokenizer using a givenAttributeSource
.SimpleAnalyzer(Version matchVersion)
Creates a newSimpleAnalyzer
StopAnalyzer(Version matchVersion)
Builds an analyzer which removes words inStopAnalyzer.ENGLISH_STOP_WORDS_SET
.StopAnalyzer(Version matchVersion, File stopwordsFile)
Builds an analyzer with the stop words from the given file.StopAnalyzer(Version matchVersion, Reader stopwords)
Builds an analyzer with the stop words from the given reader.StopAnalyzer(Version matchVersion, Set<?> stopWords)
Builds an analyzer with the stop words from the given set.StopFilter(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)
insteadStopwordAnalyzerBase(Version version)
Creates a new Analyzer with an empty stopword setStopwordAnalyzerBase(Version version, Set<?> stopwords)
Creates a new instance initialized with the given stopword setWhitespaceAnalyzer(Version matchVersion)
Creates a newWhitespaceAnalyzer
WhitespaceTokenizer(Version matchVersion, Reader in)
Construct a new WhitespaceTokenizer.WhitespaceTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Construct a new WhitespaceTokenizer using a givenAttributeSource.AttributeFactory
.WhitespaceTokenizer(Version matchVersion, AttributeSource source, Reader in)
Construct a new WhitespaceTokenizer using a givenAttributeSource
. -
Uses of Version in org.apache.lucene.analysis.ar
Constructors in org.apache.lucene.analysis.ar with parameters of type Version Constructor Description ArabicAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:ArabicAnalyzer.DEFAULT_STOPWORD_FILE
.ArabicAnalyzer(Version matchVersion, File stopwords)
Deprecated.useArabicAnalyzer(Version, Set)
insteadArabicAnalyzer(Version matchVersion, String... stopwords)
Deprecated.useArabicAnalyzer(Version, Set)
insteadArabicAnalyzer(Version matchVersion, Hashtable<?,?> stopwords)
Deprecated.useArabicAnalyzer(Version, Set)
insteadArabicAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop wordsArabicAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop word.ArabicLetterTokenizer(Version matchVersion, Reader in)
Deprecated.Construct a new ArabicLetterTokenizer.ArabicLetterTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Deprecated.Construct a new ArabicLetterTokenizer using a givenAttributeSource.AttributeFactory
.ArabicLetterTokenizer(Version matchVersion, AttributeSource source, Reader in)
Deprecated.Construct a new ArabicLetterTokenizer using a givenAttributeSource
. -
Uses of Version in org.apache.lucene.analysis.bg
Constructors in org.apache.lucene.analysis.bg with parameters of type Version Constructor Description BulgarianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:BulgarianAnalyzer.DEFAULT_STOPWORD_FILE
.BulgarianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.BulgarianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words and a stem exclusion set. -
Uses of Version in org.apache.lucene.analysis.br
Constructors in org.apache.lucene.analysis.br with parameters of type Version Constructor Description BrazilianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (BrazilianAnalyzer.getDefaultStopSet()
).BrazilianAnalyzer(Version matchVersion, File stopwords)
Deprecated.useBrazilianAnalyzer(Version, Set)
insteadBrazilianAnalyzer(Version matchVersion, String... stopwords)
Deprecated.useBrazilianAnalyzer(Version, Set)
insteadBrazilianAnalyzer(Version matchVersion, Map<?,?> stopwords)
Deprecated.useBrazilianAnalyzer(Version, Set)
insteadBrazilianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop wordsBrazilianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words and stemming exclusion words -
Uses of Version in org.apache.lucene.analysis.ca
Constructors in org.apache.lucene.analysis.ca with parameters of type Version Constructor Description CatalanAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:CatalanAnalyzer.DEFAULT_STOPWORD_FILE
.CatalanAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.CatalanAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.cjk
Constructors in org.apache.lucene.analysis.cjk with parameters of type Version Constructor Description CJKAnalyzer(Version matchVersion)
Builds an analyzer which removes words inCJKAnalyzer.getDefaultStopSet()
.CJKAnalyzer(Version matchVersion, String... stopWords)
Deprecated.useCJKAnalyzer(Version, Set)
insteadCJKAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words -
Uses of Version in org.apache.lucene.analysis.cn.smart
Constructors in org.apache.lucene.analysis.cn.smart with parameters of type Version Constructor Description SmartChineseAnalyzer(Version matchVersion)
Create a new SmartChineseAnalyzer, using the default stopword list.SmartChineseAnalyzer(Version matchVersion, boolean useDefaultStopWords)
Create a new SmartChineseAnalyzer, optionally using the default stopword list.SmartChineseAnalyzer(Version matchVersion, Set stopWords)
Create a new SmartChineseAnalyzer, using the providedSet
of stopwords. -
Uses of Version in org.apache.lucene.analysis.compound
Methods in org.apache.lucene.analysis.compound with parameters of type Version Modifier and Type Method Description static CharArraySet
CompoundWordTokenFilterBase. makeDictionary(Version matchVersion, String[] dictionary)
Deprecated.Only available for backwards compatibility.Constructors in org.apache.lucene.analysis.compound with parameters of type Version Constructor Description 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(Version matchVersion, TokenStream input, String[] dictionary)
Deprecated.Use the constructors takingSet
DictionaryCompoundWordTokenFilter(Version matchVersion, TokenStream input, String[] dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)
Deprecated.Use the constructors takingSet
DictionaryCompoundWordTokenFilter(Version matchVersion, TokenStream input, Set<?> dictionary)
Creates a newDictionaryCompoundWordTokenFilter
DictionaryCompoundWordTokenFilter(Version matchVersion, TokenStream input, Set<?> dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)
Creates a newDictionaryCompoundWordTokenFilter
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 takingSet
HyphenationCompoundWordTokenFilter(Version matchVersion, TokenStream input, HyphenationTree hyphenator, String[] dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)
Deprecated.Use the constructors takingSet
HyphenationCompoundWordTokenFilter(Version matchVersion, TokenStream input, HyphenationTree hyphenator, Set<?> dictionary)
Creates a newHyphenationCompoundWordTokenFilter
instance.HyphenationCompoundWordTokenFilter(Version matchVersion, TokenStream input, HyphenationTree hyphenator, Set<?> dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, boolean onlyLongestMatch)
Creates a newHyphenationCompoundWordTokenFilter
instance. -
Uses of Version in org.apache.lucene.analysis.cz
Constructors in org.apache.lucene.analysis.cz with parameters of type Version Constructor Description CzechAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (CzechAnalyzer.getDefaultStopSet()
).CzechAnalyzer(Version matchVersion, File stopwords)
Deprecated.useCzechAnalyzer(Version, Set)
insteadCzechAnalyzer(Version matchVersion, String... stopwords)
Deprecated.useCzechAnalyzer(Version, Set)
insteadCzechAnalyzer(Version matchVersion, HashSet<?> stopwords)
Deprecated.useCzechAnalyzer(Version, Set)
insteadCzechAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.CzechAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionTable)
Builds an analyzer with the given stop words and a set of work to be excluded from theCzechStemFilter
. -
Uses of Version in org.apache.lucene.analysis.da
Constructors in org.apache.lucene.analysis.da with parameters of type Version Constructor Description DanishAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:DanishAnalyzer.DEFAULT_STOPWORD_FILE
.DanishAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.DanishAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.de
Constructors in org.apache.lucene.analysis.de with parameters of type Version Constructor Description GermanAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:GermanAnalyzer.getDefaultStopSet()
.GermanAnalyzer(Version matchVersion, File stopwords)
Deprecated.GermanAnalyzer(Version matchVersion, String... stopwords)
Deprecated.GermanAnalyzer(Version matchVersion, Map<?,?> stopwords)
Deprecated.GermanAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop wordsGermanAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words -
Uses of Version in org.apache.lucene.analysis.el
Constructors in org.apache.lucene.analysis.el with parameters of type Version Constructor Description GreekAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words.GreekAnalyzer(Version matchVersion, String... stopwords)
Deprecated.useGreekAnalyzer(Version, Set)
insteadGreekAnalyzer(Version matchVersion, Map<?,?> stopwords)
Deprecated.useGreekAnalyzer(Version, Set)
insteadGreekAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.GreekLowerCaseFilter(Version matchVersion, TokenStream in)
Create a GreekLowerCaseFilter that normalizes Greek token text. -
Uses of Version in org.apache.lucene.analysis.en
Constructors in org.apache.lucene.analysis.en with parameters of type Version Constructor Description EnglishAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:EnglishAnalyzer.getDefaultStopSet()
.EnglishAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.EnglishAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words.EnglishPossessiveFilter(Version version, TokenStream input)
-
Uses of Version in org.apache.lucene.analysis.es
Constructors in org.apache.lucene.analysis.es with parameters of type Version Constructor Description SpanishAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:SpanishAnalyzer.DEFAULT_STOPWORD_FILE
.SpanishAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.SpanishAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.eu
Constructors in org.apache.lucene.analysis.eu with parameters of type Version Constructor Description BasqueAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:BasqueAnalyzer.DEFAULT_STOPWORD_FILE
.BasqueAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.BasqueAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.fa
Constructors in org.apache.lucene.analysis.fa with parameters of type Version Constructor Description PersianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:PersianAnalyzer.DEFAULT_STOPWORD_FILE
.PersianAnalyzer(Version matchVersion, File stopwords)
Deprecated.usePersianAnalyzer(Version, Set)
insteadPersianAnalyzer(Version matchVersion, String... stopwords)
Deprecated.usePersianAnalyzer(Version, Set)
insteadPersianAnalyzer(Version matchVersion, Hashtable<?,?> stopwords)
Deprecated.usePersianAnalyzer(Version, Set)
insteadPersianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words -
Uses of Version in org.apache.lucene.analysis.fi
Constructors in org.apache.lucene.analysis.fi with parameters of type Version Constructor Description FinnishAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:FinnishAnalyzer.DEFAULT_STOPWORD_FILE
.FinnishAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.FinnishAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.fr
Methods in org.apache.lucene.analysis.fr with parameters of type Version Modifier and Type Method Description void
ElisionFilter. setArticles(Version matchVersion, Set<?> articles)
Deprecated.useElisionFilter(Version, TokenStream, Set)
insteadConstructors in org.apache.lucene.analysis.fr with parameters of type Version Constructor Description ElisionFilter(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 wordsFrenchAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (FrenchAnalyzer.getDefaultStopSet()
).FrenchAnalyzer(Version matchVersion, File stopwords)
Deprecated.useFrenchAnalyzer(Version, Set)
insteadFrenchAnalyzer(Version matchVersion, String... stopwords)
Deprecated.useFrenchAnalyzer(Version, Set)
insteadFrenchAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop wordsFrenchAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclutionSet)
Builds an analyzer with the given stop words -
Uses of Version in org.apache.lucene.analysis.ga
Constructors in org.apache.lucene.analysis.ga with parameters of type Version Constructor Description IrishAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:IrishAnalyzer.DEFAULT_STOPWORD_FILE
.IrishAnalyzer(Version matchVersion, CharArraySet stopwords)
Builds an analyzer with the given stop words.IrishAnalyzer(Version matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.gl
Constructors in org.apache.lucene.analysis.gl with parameters of type Version Constructor Description GalicianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:GalicianAnalyzer.DEFAULT_STOPWORD_FILE
.GalicianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.GalicianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.hi
Constructors in org.apache.lucene.analysis.hi with parameters of type Version Constructor Description HindiAnalyzer(Version version)
Builds an analyzer with the default stop words:HindiAnalyzer.DEFAULT_STOPWORD_FILE
.HindiAnalyzer(Version version, Set<?> stopwords)
Builds an analyzer with the given stop wordsHindiAnalyzer(Version version, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words -
Uses of Version in org.apache.lucene.analysis.hu
Constructors in org.apache.lucene.analysis.hu with parameters of type Version Constructor Description HungarianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:HungarianAnalyzer.DEFAULT_STOPWORD_FILE
.HungarianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.HungarianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.hunspell
Methods in org.apache.lucene.analysis.hunspell that return Version Modifier and Type Method Description Version
HunspellDictionary. getVersion()
Constructors in org.apache.lucene.analysis.hunspell with parameters of type Version Constructor Description HunspellDictionary(InputStream affix, InputStream dictionary, Version version)
Creates a new HunspellDictionary containing the information read from the provided InputStreams to hunspell affix and dictionary files.HunspellDictionary(InputStream affix, InputStream dictionary, Version version, boolean ignoreCase)
Creates a new HunspellDictionary containing the information read from the provided InputStreams to hunspell affix and dictionary files.HunspellDictionary(InputStream affix, List<InputStream> dictionaries, Version version, boolean ignoreCase)
Creates a new HunspellDictionary containing the information read from the provided InputStreams to hunspell affix and dictionary files. -
Uses of Version in org.apache.lucene.analysis.hy
Constructors in org.apache.lucene.analysis.hy with parameters of type Version Constructor Description ArmenianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:ArmenianAnalyzer.DEFAULT_STOPWORD_FILE
.ArmenianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.ArmenianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.id
Constructors in org.apache.lucene.analysis.id with parameters of type Version Constructor Description IndonesianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:IndonesianAnalyzer.DEFAULT_STOPWORD_FILE
.IndonesianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop wordsIndonesianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop word. -
Uses of Version in org.apache.lucene.analysis.in
Constructors in org.apache.lucene.analysis.in with parameters of type Version Constructor Description IndicTokenizer(Version matchVersion, Reader input)
Deprecated.IndicTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Deprecated.IndicTokenizer(Version matchVersion, AttributeSource source, Reader input)
Deprecated. -
Uses of Version in org.apache.lucene.analysis.it
Constructors in org.apache.lucene.analysis.it with parameters of type Version Constructor Description ItalianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:ItalianAnalyzer.DEFAULT_STOPWORD_FILE
.ItalianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.ItalianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.ja
Constructors in org.apache.lucene.analysis.ja with parameters of type Version Constructor Description JapaneseAnalyzer(Version matchVersion)
JapaneseAnalyzer(Version matchVersion, UserDictionary userDict, JapaneseTokenizer.Mode mode, CharArraySet stopwords, Set<String> stoptags)
-
Uses of Version in org.apache.lucene.analysis.lv
Constructors in org.apache.lucene.analysis.lv with parameters of type Version Constructor Description LatvianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:LatvianAnalyzer.DEFAULT_STOPWORD_FILE
.LatvianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.LatvianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.miscellaneous
Constructors in org.apache.lucene.analysis.miscellaneous with parameters of type Version Constructor Description PatternAnalyzer(Version matchVersion, Pattern pattern, boolean toLowerCase, Set<?> stopWords)
Constructs a new instance with the given parameters.StemmerOverrideFilter(Version matchVersion, TokenStream input, Map<?,String> dictionary)
Create a new StemmerOverrideFilter, performing dictionary-based stemming with the provideddictionary
. -
Uses of Version in org.apache.lucene.analysis.nl
Constructors in org.apache.lucene.analysis.nl with parameters of type Version Constructor Description DutchAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (DutchAnalyzer.getDefaultStopSet()
) and a few default entries for the stem exclusion table.DutchAnalyzer(Version matchVersion, File stopwords)
Deprecated.useDutchAnalyzer(Version, Set)
insteadDutchAnalyzer(Version matchVersion, String... stopwords)
Deprecated.useDutchAnalyzer(Version, Set)
insteadDutchAnalyzer(Version matchVersion, HashSet<?> stopwords)
Deprecated.useDutchAnalyzer(Version, Set)
insteadDutchAnalyzer(Version matchVersion, Set<?> stopwords)
DutchAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionTable)
DutchAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionTable, CharArrayMap<String> stemOverrideDict)
-
Uses of Version in org.apache.lucene.analysis.no
Constructors in org.apache.lucene.analysis.no with parameters of type Version Constructor Description NorwegianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:NorwegianAnalyzer.DEFAULT_STOPWORD_FILE
.NorwegianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.NorwegianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.pl
Constructors in org.apache.lucene.analysis.pl with parameters of type Version Constructor Description PolishAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:PolishAnalyzer.DEFAULT_STOPWORD_FILE
.PolishAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.PolishAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.pt
Constructors in org.apache.lucene.analysis.pt with parameters of type Version Constructor Description PortugueseAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:PortugueseAnalyzer.DEFAULT_STOPWORD_FILE
.PortugueseAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.PortugueseAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.query
Constructors in org.apache.lucene.analysis.query with parameters of type Version Constructor Description QueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate)
Deprecated.Stopwords should be calculated at instantiation using one of the other constructorsQueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader)
Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for all indexed fields from terms with a document frequency percentage greater thanQueryAutoStopWordAnalyzer.defaultMaxDocFreqPercent
QueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader, float maxPercentDocs)
Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for all indexed fields from terms with a document frequency percentage greater than the given maxPercentDocsQueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader, int maxDocFreq)
Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for all indexed fields from terms with a document frequency greater than the given maxDocFreqQueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader, Collection<String> fields, float maxPercentDocs)
Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for the given selection of fields from terms with a document frequency percentage greater than the given maxPercentDocsQueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader, Collection<String> fields, int maxDocFreq)
Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for the given selection of fields from terms with a document frequency greater than the given maxDocFreq -
Uses of Version in org.apache.lucene.analysis.reverse
Methods in org.apache.lucene.analysis.reverse with parameters of type Version Modifier and Type Method Description static void
ReverseStringFilter. reverse(Version matchVersion, char[] buffer)
Reverses the given input buffer in-placestatic void
ReverseStringFilter. reverse(Version matchVersion, char[] buffer, int len)
Partially reverses the given input buffer in-place from offset 0 up to the given length.static void
ReverseStringFilter. reverse(Version matchVersion, char[] buffer, int start, int len)
Partially reverses the given input buffer in-place from the given offset up to the given length.static String
ReverseStringFilter. reverse(Version matchVersion, String input)
Reverses the given input stringConstructors in org.apache.lucene.analysis.reverse with parameters of type Version Constructor Description 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 Version in org.apache.lucene.analysis.ro
Constructors in org.apache.lucene.analysis.ro with parameters of type Version Constructor Description RomanianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:RomanianAnalyzer.DEFAULT_STOPWORD_FILE
.RomanianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.RomanianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.ru
Constructors in org.apache.lucene.analysis.ru with parameters of type Version Constructor Description RussianAnalyzer(Version matchVersion)
RussianAnalyzer(Version matchVersion, String... stopwords)
Deprecated.useRussianAnalyzer(Version, Set)
insteadRussianAnalyzer(Version matchVersion, Map<?,?> stopwords)
Deprecated.useRussianAnalyzer(Version, Set)
insteadRussianAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop wordsRussianAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop wordsRussianLetterTokenizer(Version matchVersion, Reader in)
Deprecated.Construct a new RussianLetterTokenizer.RussianLetterTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
Deprecated.Construct a new RussianLetterTokenizer using a givenAttributeSource.AttributeFactory
.RussianLetterTokenizer(Version matchVersion, AttributeSource source, Reader in)
Deprecated.Construct a new RussianLetterTokenizer using a givenAttributeSource
. -
Uses of Version in org.apache.lucene.analysis.shingle
Constructors in org.apache.lucene.analysis.shingle with parameters of type Version Constructor Description ShingleAnalyzerWrapper(Version matchVersion)
WrapsStandardAnalyzer
.ShingleAnalyzerWrapper(Version matchVersion, int minShingleSize, int maxShingleSize)
WrapsStandardAnalyzer
. -
Uses of Version in org.apache.lucene.analysis.snowball
Constructors in org.apache.lucene.analysis.snowball with parameters of type Version Constructor Description SnowballAnalyzer(Version matchVersion, String name)
Deprecated.Builds the named analyzer with no stop words.SnowballAnalyzer(Version matchVersion, String name, String[] stopWords)
Deprecated.UseSnowballAnalyzer(Version, String, Set)
instead.SnowballAnalyzer(Version matchVersion, String name, Set<?> stopWords)
Deprecated.Builds the named analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.standard
Constructors in org.apache.lucene.analysis.standard with parameters of type Version Constructor Description ClassicAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (ClassicAnalyzer.STOP_WORDS_SET
).ClassicAnalyzer(Version matchVersion, File stopwords)
Deprecated.UseClassicAnalyzer(Version, Reader)
instead.ClassicAnalyzer(Version matchVersion, Reader stopwords)
Builds an analyzer with the stop words from the given reader.ClassicAnalyzer(Version matchVersion, Set<?> stopWords)
Builds an analyzer with the given stop words.ClassicTokenizer(Version matchVersion, Reader input)
Creates a new instance of theClassicTokenizer
.ClassicTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Creates a new ClassicTokenizer with a givenAttributeSource.AttributeFactory
ClassicTokenizer(Version matchVersion, AttributeSource source, Reader input)
Creates a new ClassicTokenizer with a givenAttributeSource
.StandardAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (StandardAnalyzer.STOP_WORDS_SET
).StandardAnalyzer(Version matchVersion, File stopwords)
Deprecated.UseStandardAnalyzer(Version, Reader)
instead.StandardAnalyzer(Version matchVersion, Reader stopwords)
Builds an analyzer with the stop words from the given reader.StandardAnalyzer(Version matchVersion, Set<?> stopWords)
Builds an analyzer with the given stop words.StandardFilter(Version matchVersion, TokenStream in)
StandardTokenizer(Version matchVersion, Reader input)
Creates a new instance of theStandardTokenizer
.StandardTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Creates a new StandardTokenizer with a givenAttributeSource.AttributeFactory
StandardTokenizer(Version matchVersion, AttributeSource source, Reader input)
Creates a new StandardTokenizer with a givenAttributeSource
.UAX29URLEmailAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (UAX29URLEmailAnalyzer.STOP_WORDS_SET
).UAX29URLEmailAnalyzer(Version matchVersion, Reader stopwords)
Builds an analyzer with the stop words from the given reader.UAX29URLEmailAnalyzer(Version matchVersion, Set<?> stopWords)
Builds an analyzer with the given stop words.UAX29URLEmailTokenizer(Version matchVersion, Reader input)
Creates a new instance of the UAX29URLEmailTokenizer.UAX29URLEmailTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader input)
Creates a new UAX29URLEmailTokenizer with a givenAttributeSource.AttributeFactory
UAX29URLEmailTokenizer(Version matchVersion, AttributeSource source, Reader input)
Creates a new UAX29URLEmailTokenizer with a givenAttributeSource
. -
Uses of Version in org.apache.lucene.analysis.sv
Constructors in org.apache.lucene.analysis.sv with parameters of type Version Constructor Description SwedishAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:SwedishAnalyzer.DEFAULT_STOPWORD_FILE
.SwedishAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.SwedishAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.analysis.th
Constructors in org.apache.lucene.analysis.th with parameters of type Version Constructor Description ThaiAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words.ThaiAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.ThaiWordFilter(Version matchVersion, TokenStream input)
Creates a new ThaiWordFilter with the specified match version. -
Uses of Version in org.apache.lucene.analysis.tr
Constructors in org.apache.lucene.analysis.tr with parameters of type Version Constructor Description TurkishAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:TurkishAnalyzer.DEFAULT_STOPWORD_FILE
.TurkishAnalyzer(Version matchVersion, Set<?> stopwords)
Builds an analyzer with the given stop words.TurkishAnalyzer(Version matchVersion, Set<?> stopwords, Set<?> stemExclusionSet)
Builds an analyzer with the given stop words. -
Uses of Version in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type Version Modifier and Type Method Description void
MultiPassIndexSplitter. split(Version version, IndexReader input, Directory[] outputs, boolean seq)
Split source index into multiple parts.Constructors in org.apache.lucene.index with parameters of type Version Constructor Description IndexUpgrader(Directory dir, Version matchVersion)
Creates index upgrader on the given directory, using anIndexWriter
using the givenmatchVersion
.IndexUpgrader(Directory dir, Version matchVersion, PrintStream infoStream, boolean deletePriorCommits)
Creates index upgrader on the given directory, using anIndexWriter
using the givenmatchVersion
.IndexWriterConfig(Version matchVersion, Analyzer analyzer)
PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary, Directory dir, IndexWriterConfig.OpenMode mode, Version matchVersion)
PersistentSnapshotDeletionPolicy
wraps anotherIndexDeletionPolicy
to enable flexible snapshotting.PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Term midTerm)
Split an index based on a given primary key term and a 'middle' term.PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex)
Split an index based on aFilter
.RandomIndexWriter(Random r, Directory dir, Version v, Analyzer a)
create a RandomIndexWriter with a random config -
Uses of Version in org.apache.lucene.queryParser
Methods in org.apache.lucene.queryParser with parameters of type Version Modifier and Type Method Description static Query
MultiFieldQueryParser. parse(Version matchVersion, String[] queries, String[] fields, Analyzer analyzer)
Parses a query which searches on the fields specified.static Query
MultiFieldQueryParser. parse(Version matchVersion, String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Parses a query, searching on the fields specified.static Query
MultiFieldQueryParser. parse(Version matchVersion, String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Parses a query, searching on the fields specified.Constructors in org.apache.lucene.queryParser with parameters of type Version Constructor Description MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer)
Creates a MultiFieldQueryParser.MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer, Map<String,Float> boosts)
Creates a MultiFieldQueryParser.QueryParser(Version matchVersion, String f, Analyzer a)
Constructs a query parser. -
Uses of Version in org.apache.lucene.queryParser.analyzing
Constructors in org.apache.lucene.queryParser.analyzing with parameters of type Version Constructor Description AnalyzingQueryParser(Version matchVersion, String field, Analyzer analyzer)
Constructs a query parser. -
Uses of Version in org.apache.lucene.queryParser.complexPhrase
Constructors in org.apache.lucene.queryParser.complexPhrase with parameters of type Version Constructor Description ComplexPhraseQueryParser(Version matchVersion, String f, Analyzer a)
-
Uses of Version in org.apache.lucene.queryParser.ext
Constructors in org.apache.lucene.queryParser.ext with parameters of type Version Constructor Description ExtendableQueryParser(Version matchVersion, String f, Analyzer a)
Creates a newExtendableQueryParser
instanceExtendableQueryParser(Version matchVersion, String f, Analyzer a, Extensions ext)
Creates a newExtendableQueryParser
instance -
Uses of Version in org.apache.lucene.util
Fields in org.apache.lucene.util declared as Version Modifier and Type Field Description static Version
LuceneTestCase. TEST_VERSION_CURRENT
Use this constant when creating Analyzers and any other version-dependent stuff.Methods in org.apache.lucene.util that return Version Modifier and Type Method Description static Version
Version. valueOf(String name)
Returns the enum constant of this type with the specified name.static Version[]
Version. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.lucene.util with parameters of type Version Modifier and Type Method Description static CharacterUtils
CharacterUtils. getInstance(Version matchVersion)
Returns aCharacterUtils
implementation according to the givenVersion
instance.static IndexWriterConfig
LuceneTestCase. newIndexWriterConfig(Random r, Version v, Analyzer a)
create a new index writer config with random defaults using the specified randomstatic IndexWriterConfig
LuceneTestCase. newIndexWriterConfig(Version v, Analyzer a)
create a new index writer config with random defaultsboolean
Version. onOrAfter(Version other)
-