Deprecated API
Contents
-
Deprecated ClassesClassDescriptionFix the token filters that create broken offsets in the first place.Use
WordDelimiterGraphFilterinstead: it produces a correct token graph so that e.g.PhraseQueryworks correctly when it's used in the search time analyzer.UseWordDelimiterGraphFilterFactoryinstead: it produces a correct token graph so that e.g.PhraseQueryworks correctly when it's used in the search time analyzer.UseSynonymGraphFilterinstead, but be sure to also useFlattenGraphFilterat index time (not at search time) as well.UseSynonymGraphFilterFactoryinstead, but be sure to also useFlattenGraphFilterFactoryat index time (not at search time) as well.UseBinaryDocValuesinstead.ImplementBinaryDocValuesdirectly.UseNumericDocValuesinstead.ImplementNumericDocValuesdirectly.UseSortedDocValuesinstead.ImplementSortedDocValuesdirectly.UseSortedNumericDocValuesinstead.ImplementSortedNumericDocValuesdirectly.UseSortedSetDocValuesinstead.ImplementSortedSetDocValuesdirectly.BM25Similarityshould be used insteadMigrate to one of the newer suggesters which are much more RAM efficient.Migrate to one of the newer suggesters which are much more RAM efficient.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory. It will be removed in future versions of Lucene.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory. It will be removed in future versions of Lucene.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory. It will be removed in future versions of Lucene.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory. It will be removed in future versions of Lucene.This class is a less efficient implementation of what's available inNIOFSDirectory, and will be removed in future versions of Lucene.This comparator is only a transition mechanism
-
Deprecated FieldsFieldDescriptionUse
JavascriptLexer.VOCABULARYinstead.UseJavascriptParser.VOCABULARYinstead.pass integer edit distances instead.This comparator is only a transition mechanismUseVersion.LATESTUseVersion.LATEST(8.0.0) Use latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latest(8.1.0) Use latest(8.2.0) Use latestUse latest(8.3.0) Use latest(8.4.0) Use latestUse latest(8.5.0) Use latestUse latest(8.6.0) Use latestUse latestUse latest(8.7.0) Use latestUse latestUse latestUse latest(8.8.0) Use latest(8.8.1) Use latest(8.8.2) Use latestUseVersion.LATEST
-
Deprecated MethodsMethodDescriptionConsume
BinaryDocValuesinstead.ConsumeNumericDocValuesinstead.ConsumeNumericDocValuesinstead.ConsumeSortedDocValuesinstead.ConsumeSortedDocValuesinstead.ConsumeSortedDocValuesinstead.ConsumeSortedSetDocValuesinstead.ConsumeSortedSetDocValuesinstead.ConsumeSortedDocValuesinstead.ConsumeSortedSetDocValuesinstead.see: #getEndColumnsee #getEndLinesee #getEndColumnsee #getEndLinesee: #getEndColumnsee: #getEndLine(March 2011) Not normally used, to be removed from Lucene 4.0. This class implementing Comparable is to be removed at the same time.pass integer edit distances instead.in favor ofIndexSearcher.termStatistics(Term, int, long).This comparator is only a transition mechanismThis method is deprecated in favor ofIOUtils.rethrowAlways(java.lang.Throwable). Code should be updated toIOUtils.rethrowAlways(java.lang.Throwable)and guarded with an additional null-argument check (becauseIOUtils.rethrowAlways(java.lang.Throwable)is not accepting null arguments).This method is deprecated in favor ofIOUtils.rethrowAlways(java.lang.Throwable). Code should be updated toIOUtils.rethrowAlways(java.lang.Throwable)and guarded with an additional null-argument check (becauseIOUtils.rethrowAlways(java.lang.Throwable)is not accepting null arguments).UseinsteadUseMath.toDegrees(double)on Java 9+.UseMath.toRadians(double)on Java 9+.
-
Deprecated ConstructorsConstructorDescriptionYou should not use this ctor, because it uses the thread's context class loader, which is bad programming style. Please specify a reference class or a
ClassLoaderinstead.You should not use this ctor, because it uses the thread's context class loader as fallback for resource lookups, which is bad programming style. Please specify aClassLoaderinstead.Please use aSynonymQuery.Builderinstead.