Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionreplaced by
TokenInfoDictionary(Path, Path, Path, Path)
for files andTokenInfoDictionary(URL, URL, URL, URL)
for classpath/module resourcesreplaced byUnknownDictionary(Path, Path, Path)
for files andUnknownDictionary(URL, URL, URL)
for classpath/module resourcesreplaced byConnectionCosts(Path)
for files andConnectionCosts(URL)
for classpath/module resources.replaced byTokenInfoDictionary(Path, Path, Path, Path)
for files andTokenInfoDictionary(URL, URL, URL, URL)
for classpath/module resourcesreplaced byUnknownDictionary(Path, Path, Path)
for files andUnknownDictionary(URL, URL, URL)
for classpath/module resourcesClass.getResourceAsStream(String)
is caller sensitive and cannot load resources across Java Modules. Please call thegetResourceAsStream()
andWordlistLoader.getWordSet(Reader, String, CharArraySet)
or other methods directly.Class.getResourceAsStream(String)
is caller sensitive and cannot load resources across Java Modules. Please call thegetResourceAsStream()
directly and useIOUtils.requireResourceNonNull(Object,String)
to signal missing resourcesnull
was replaced byIOConsumer
.was replaced byIOFunction
.
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionUse
SpanishPluralStemFilter
instead.UseSpanishPluralStemFilterFactory
insteadUseSpanishPluralStemmer
instead.Fix the token filters that create broken offsets in the first place.UseWordDelimiterGraphFilter
instead: it produces a correct token graph so that e.g.PhraseQuery
works correctly when it's used in the search time analyzer.UseWordDelimiterGraphFilterFactory
instead: it produces a correct token graph so that e.g.PhraseQuery
works correctly when it's used in the search time analyzer.UseSynonymGraphFilter
instead, but be sure to also useFlattenGraphFilter
at index time (not at search time) as well.UseSynonymGraphFilterFactory
instead, but be sure to also useFlattenGraphFilterFactory
at index time (not at search time) as well.UseFieldExistsQuery
instead.UseFieldExistsQuery
instead.UseFieldExistsQuery
instead.This comparator is only a transition mechanism
-
Deprecated Enum Classes
-
Deprecated ExceptionsExceptionsDescription
-
Deprecated FieldsFieldDescriptionUse
JavascriptLexer.VOCABULARY
instead.UseJavascriptParser.VOCABULARY
instead.Better use little endian unless it is needed for backwards compatibility.Better use little endian unless it is needed for backwards compatibility.Better use little endian unless it is needed for backwards compatibility.Better use little endian unless it is needed for backwards compatibility.Better use little endian unless it is needed for backwards compatibility.This comparator is only a transition mechanism(9.0.0) Use latestUse latestUse latestUse latestUse latest(8.11.1) Use latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latestUse latest(9.1.0) Use latest(9.2.0) Use latestUseVersion.LATEST
-
Deprecated MethodsMethodDescription
Class.getResourceAsStream(String)
is caller sensitive and cannot load resources across Java Modules. Please call thegetResourceAsStream()
andWordlistLoader.getWordSet(Reader, String, CharArraySet)
or other methods directly.set this using a constructor insteadshould only be used for compatibility with 8.x indices that got created with inconsistent data across fields, or the wrong sort configuration in the index sortorg.apache.lucene.search.uhighlight.UnifiedHighlighter.shouldPreferPassageRelevancyOverSpeed(String) This comparator is only a transition mechanismClass.getResourceAsStream(String)
is caller sensitive and cannot load resources across Java Modules. Please call thegetResourceAsStream()
directly and useIOUtils.requireResourceNonNull(Object,String)
to signal missing resourcesnull
-
Deprecated ConstructorsConstructorDescriptionreplaced by
ConnectionCosts(Path)
for files andConnectionCosts(URL)
for classpath/module resources.replaced byTokenInfoDictionary(Path, Path, Path, Path)
for files andTokenInfoDictionary(URL, URL, URL, URL)
for classpath/module resourcesreplaced byUnknownDictionary(Path, Path, Path)
for files andUnknownDictionary(URL, URL, URL)
for classpath/module resourcesreplaced byConnectionCosts(Path)
for files andConnectionCosts(URL)
for classpath/module resources.replaced byTokenInfoDictionary(Path, Path, Path, Path)
for files andTokenInfoDictionary(URL, URL, URL, URL)
for classpath/module resourcesreplaced byUnknownDictionary(Path, Path, Path)
for files andUnknownDictionary(URL, URL, URL)
for classpath/module resources
-
Deprecated Enum Constants
ConnectionCosts(Path)
for files andConnectionCosts(URL)
for classpath/module resources.