Deprecated API


Contents
Deprecated Classes
org.apache.lucene.analysis.ar.ArabicLetterTokenizer
          (3.1) Use StandardTokenizer instead. 
org.apache.lucene.analysis.ar.ArabicLetterTokenizerFactory
          (3.1) Use StandardTokenizerFactory instead. 
org.apache.lucene.analysis.cn.ChineseAnalyzer
          (3.1) Use StandardAnalyzer instead, which has the same functionality. This analyzer will be removed in Lucene 5.0 
org.apache.lucene.analysis.cn.ChineseFilter
          (3.1) Use StopFilter instead, which has the same functionality. This filter will be removed in Lucene 5.0 
org.apache.lucene.analysis.cn.ChineseFilterFactory
          Use StopFilterFactory instead. 
org.apache.lucene.analysis.cn.ChineseTokenizer
          (3.1) Use StandardTokenizer instead, which has the same functionality. This filter will be removed in Lucene 5.0 
org.apache.lucene.analysis.cn.ChineseTokenizerFactory
          Use StandardTokenizerFactory instead. 
org.apache.lucene.analysis.cjk.CJKTokenizer
          Use StandardTokenizer, CJKWidthFilter, CJKBigramFilter, and LowerCaseFilter instead. 
org.apache.lucene.analysis.cjk.CJKTokenizerFactory
          Use CJKBigramFilterFactory instead. 
org.apache.lucene.collation.CollationKeyFilter
          Use CollationAttributeFactory instead, which encodes terms directly as bytes. This filter will be removed in Lucene 5.0 
org.apache.lucene.collation.CollationKeyFilterFactory
          use CollationKeyAnalyzer instead. 
org.apache.lucene.analysis.nl.DutchStemFilter
          (3.1) Use SnowballFilter with DutchStemmer instead, which has the same functionality. This filter will be removed in Lucene 5.0 
org.apache.lucene.analysis.nl.DutchStemmer
          (3.1) Use DutchStemmer instead, which has the same functionality. This filter will be removed in Lucene 5.0 
org.apache.lucene.analysis.fr.FrenchStemFilter
          (3.1) Use SnowballFilter with FrenchStemmer instead, which has the same functionality. This filter will be removed in Lucene 5.0 
org.apache.lucene.analysis.fr.FrenchStemmer
          Use FrenchStemmer instead, which has the same functionality. This filter will be removed in Lucene 4.0 
org.apache.lucene.analysis.in.IndicTokenizer
          (3.6) Use StandardTokenizer instead. 
org.apache.lucene.analysis.ngram.Lucene43EdgeNGramTokenizer
           
org.apache.lucene.analysis.ngram.Lucene43NGramTokenizer
           
org.apache.lucene.analysis.miscellaneous.PatternAnalyzer
          (4.0) use the pattern-based analysis in the analysis/pattern package instead. 
org.apache.lucene.analysis.position.PositionFilter
          (4.4) PositionFilter makes TokenStream graphs inconsistent which can cause highlighting bugs. Its main use-case being to make QueryParser generate boolean queries instead of phrase queries, it is now advised to use QueryParser.setAutoGeneratePhraseQueries(boolean) (for simple cases) or to override QueryParser.newFieldQuery. 
org.apache.lucene.analysis.position.PositionFilterFactory
          (4.4) 
org.apache.lucene.analysis.ru.RussianLetterTokenizer
          (3.1) Use StandardTokenizer instead, which has the same functionality. This filter will be removed in Lucene 5.0 
org.apache.lucene.analysis.ru.RussianLetterTokenizerFactory
          Use StandardTokenizerFactory instead. This tokenizer has no Russian-specific functionality. 
org.apache.lucene.analysis.snowball.SnowballAnalyzer
          (3.1) Use the language-specific analyzer in modules/analysis instead. This analyzer will be removed in Lucene 5.0 
org.apache.lucene.analysis.standard.std31.StandardTokenizerImpl31
          This class is only for exact backwards compatibility 
org.apache.lucene.analysis.standard.std34.StandardTokenizerImpl34
          This class is only for exact backwards compatibility 
org.apache.lucene.analysis.standard.std31.UAX29URLEmailTokenizerImpl31
          This class is only for exact backwards compatibility 
org.apache.lucene.analysis.standard.std34.UAX29URLEmailTokenizerImpl34
          This class is only for exact backwards compatibility 
org.apache.lucene.analysis.standard.std36.UAX29URLEmailTokenizerImpl36
          This class is only for exact backwards compatibility 
 

Deprecated Fields
org.apache.lucene.analysis.standard.StandardTokenizer.ACRONYM
          (3.1) 
org.apache.lucene.analysis.standard.StandardTokenizer.ACRONYM_DEP
          (3.1) 
org.apache.lucene.analysis.standard.StandardTokenizer.APOSTROPHE
          (3.1) 
org.apache.lucene.analysis.standard.StandardTokenizer.CJ
          (3.1) 
org.apache.lucene.analysis.standard.StandardTokenizer.COMPANY
          (3.1) 
org.apache.lucene.analysis.pattern.PatternReplaceCharFilter.DEFAULT_MAX_BLOCK_CHARS
           
org.apache.lucene.analysis.standard.StandardTokenizer.HOST
          (3.1) 
 

Deprecated Methods
org.apache.lucene.analysis.util.FilteringTokenFilter.setEnablePositionIncrements(boolean)
          enablePositionIncrements=false is not supported anymore as of Lucene 4.4 
 

Deprecated Constructors
org.apache.lucene.collation.CollationKeyAnalyzer(Collator)
          Use CollationKeyAnalyzer.CollationKeyAnalyzer(Version, Collator) and specify a version instead. This ctor will be removed in Lucene 5.0 
org.apache.lucene.analysis.ngram.EdgeNGramTokenFilter(Version, TokenStream, EdgeNGramTokenFilter.Side, int, int)
           
org.apache.lucene.analysis.ngram.EdgeNGramTokenFilter(Version, TokenStream, String, int, int)
           
org.apache.lucene.analysis.en.EnglishPossessiveFilter(TokenStream)
          Use EnglishPossessiveFilter.EnglishPossessiveFilter(Version, TokenStream) instead. 
org.apache.lucene.analysis.util.FilteringTokenFilter(Version, boolean, TokenStream)
          enablePositionIncrements=false is not supported anymore as of Lucene 4.4 
org.apache.lucene.analysis.miscellaneous.KeepWordFilter(Version, boolean, TokenStream, CharArraySet)
          enablePositionIncrements=false is not supported anymore as of Lucene 4.4. 
org.apache.lucene.analysis.miscellaneous.LengthFilter(Version, boolean, TokenStream, int, int)
          enablePositionIncrements=false is not supported anymore as of Lucene 4.4. 
org.apache.lucene.analysis.ngram.Lucene43EdgeNGramTokenizer(Version, AttributeSource.AttributeFactory, Reader, Lucene43EdgeNGramTokenizer.Side, int, int)
           
org.apache.lucene.analysis.ngram.Lucene43EdgeNGramTokenizer(Version, AttributeSource.AttributeFactory, Reader, String, int, int)
           
org.apache.lucene.analysis.ngram.Lucene43EdgeNGramTokenizer(Version, Reader, Lucene43EdgeNGramTokenizer.Side, int, int)
           
org.apache.lucene.analysis.ngram.Lucene43EdgeNGramTokenizer(Version, Reader, String, int, int)
           
org.apache.lucene.analysis.pattern.PatternReplaceCharFilter(Pattern, String, int, String, Reader)
           
org.apache.lucene.analysis.miscellaneous.TrimFilter(Version, TokenStream, boolean)
          Offset updates are not supported anymore as of Lucene 4.4. 
org.apache.lucene.analysis.core.TypeTokenFilter(Version, boolean, TokenStream, Set)
          enablePositionIncrements=false is not supported anymore as of Lucene 4.4. 
org.apache.lucene.analysis.core.TypeTokenFilter(Version, boolean, TokenStream, Set, boolean)
          enablePositionIncrements=false is not supported anymore as of Lucene 4.4. 
 

Deprecated Enum Constants
org.apache.lucene.analysis.ngram.EdgeNGramTokenFilter.Side.BACK
           
 



Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.