Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Exception Classes
- Fields
- Methods
- Constructors
- Enum Constants
-
ElementDescription
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.Please use new system propertyMMapDirectory.ENABLE_UNMAP_HACK_SYSPROP
insteadClass.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
.
-
ClassDescriptionuse
KnnFloatVectorField
insteaduseFloatVectorValues
insteadUseFieldExistsQuery
instead.UseFieldExistsQuery
instead.useKnnFloatVectorQuery
insteadUseFieldExistsQuery
instead.Visibility of this class will be reduced in a future release. Users can access this functionality directly throughAutomata.makeStringUnion(Iterable)
-
Exception ClassDescription
-
FieldDescriptionWill be removed in a future version. Please use
SortedSetDocValues.docValueCount()
to know the number of doc values for the current document up-front.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.To detect Java versions useRuntime.version()
This constant is useless and alwaystrue
. To detect Java versions useRuntime.version()
This constant is useless and alwaystrue
. To detect Java versions useRuntime.version()
This constant is useless and alwaystrue
. To detect Java versions useRuntime.version()
To detect Java versions useRuntime.version()
To detect Java versions useRuntime.version()
(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 latestUse latest(9.1.0) Use latest(9.2.0) Use latest(9.3.0) Use latest(9.4.0) Use latest(9.5.0) Use latestUse latestUse latest(9.6.0) Use latest(9.7.0) Use latest(9.8.0) Use latest(9.9.0) Use latest(9.9.1) Use latestUseVersion.LATEST
-
MethodDescription
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.useIndexReader.storedFields()
to retrieve one or more documentsuseIndexReader.storedFields()
to retrieve one or more documentsuseIndexReader.storedFields()
to retrieve one or more documentsuseIndexReader.termVectors()
to retrieve one or more documentsuseIndexReader.termVectors()
to retrieve one or more documentsUseIndexSearcher.storedFields()
to access fields for one or more documentsUseIndexSearcher.storedFields()
to access fields for one or more documentsUseIndexSearcher.storedFields()
to access fields for one or more documentsuseIndexSearcher.getTaskExecutor()
executor instead to execute concurrent tasksset this using a constructor insteadThis is a duplicate method forSortField#getOptimizeSortWithIndexedData
.should 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 sortshould 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 sort. This is a duplicate method forSortField#setOptimizeSortWithIndexedData
.the encoded terms will no longer be exposed in a future major version; this is an implementation detail that could change at some point and shouldn't be relied on directlyUseByteBuffersDataInput.length()
instead.This information is no longer reliable now that preloading is more granularly configured via a predicate.UseMMapDirectory.setPreload(BiPredicate)
instead which provides more granular control.Please use new system propertyMMapDirectory.ENABLE_UNMAP_HACK_SYSPROP
insteadPlease seeAutomata.makeStringUnion(Iterable)
insteadThis 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
-
ConstructorDescriptionUse
DoubleField(String, double, Field.Store)
withField.Store.NO
instead.UseFloatField(String, float, Field.Store)
withField.Store.NO
instead.UseIntField(String, int, Field.Store)
withField.Store.NO
instead.UseLongField(String, long, Field.Store)
withField.Store.NO
instead.useMMapDirectory(Path, long)
instead.useMMapDirectory(Path, LockFactory, long)
instead.