Deprecated API
Contents
-
ClassDescriptionECSJsonlayout should be used as JSON logs layoutthis class is kept in order to allow working log configuration from 7.x
BM25Similarity
should be used insteadOnly for 7.x rest compat
-
Enum ClassDescriptionWe are in the process of replacing this class with
ValuesSourceType
, so new uses or entries to the enum are discouraged. There is currently no migration path for existing uses, notably parsing user value type hints and Composite aggregation, should continue to use this for now. Most importantly DO NOT ADD NEW PLACES WE SERIALIZE THIS ENUM!
-
ExceptionsDescriptionUse ScriptException for exceptions from the scripting engine, otherwise use a more appropriate exception (e.g. if thrown from various abstractions)This exception isn't thrown anymore. It's only here for BwC.
-
Annotation InterfaceDescription
FactoryProvider
now works better with the standard @Inject annotation. When using that annotation, parameters are matched by name and type rather than by position. In addition, values that use the standard @Inject constructor annotation are eligible for method interception.
-
FieldDescriptiondeclare your own logger.transition mechanism only, do not use
-
MethodDescriptionTransient settings are in the process of being removed. Use persistent settings to update your cluster settings instead.Transient settings are in the process of being removed. Use persistent settings to update your cluster settings instead.Transient settings are in the process of being removed. Use persistent settings to update your cluster settings instead.Transient settings are in the process of being removed. Use persistent settings to update your cluster settings instead.Transient settings are in the process of being removed. Use persistent settings to update your cluster settings instead.Use
BulkProcessor.builder(BiConsumer, Listener, String)
with client::bulk as the first argument, orBulkProcessor.builder(org.elasticsearch.client.internal.Client, org.elasticsearch.action.bulk.BulkProcessor.Listener, org.elasticsearch.threadpool.Scheduler, org.elasticsearch.threadpool.Scheduler, java.lang.Runnable)
and manage the flush and retry schedulers explicitlyUseGetResponse.getSource()
insteaduseTermVectorsRequest.doc(BytesReference, boolean, XContentType)
to avoid content auto detectionUseUpdateRequest.script(Script)
insteadUseUpdateRequest.script(Script)
insteadUseUpdateRequest.script(Script)
insteadUseUpdateRequest.script(Script)
insteadUseUpdateRequest.script(Script)
insteadUseUpdateRequest.script()
insteadUseUpdateRequest.script(Script)
insteadUseUpdateRequest.script()
insteadUseUpdateRequest.script(Script)
insteadUseUpdateRequest.script()
insteadUseUpdateRequest.script()
insteadremove this when multihoming is really correctWe're in the process of abstracting offset *into* Rounding so keep any usage to migratory shimsPreferRounding.prepare(long, long)
and thenRounding.Prepared.round(long)
this method relies on auto-detection of content type. UseXContentHelper.convertToMap(BytesReference, boolean, XContentType)
instead with the properXContentType
useXContentHelper.createParser(XContentParserConfiguration, BytesReference, XContentType)
to avoid content type auto-detectionuseXContentHelper.createParser(XContentParserConfiguration, BytesReference, XContentType)
to avoid content type auto-detectionuseXContentHelper.writeRawField(String, BytesReference, XContentType, XContentBuilder, Params)
to avoid content type auto-detectionthe content type should not be guessed except for few cases where we effectively don't know the content type. The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed. This method is deprecated to prevent usages of it from spreading further without specific reasons.the content type should not be guessed except for few cases where we effectively don't know the content type. The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed. This method is deprecated to prevent usages of it from spreading further without specific reasons.we are actively deprecating and removing the ability to pass complex objects to multifields, so try and avoid using this method Replace the XContentParser used by this contextUse an instance method isMetadataField insteadplease use maxDocs(int) instead.Specifying a sort field for reindex is deprecated. If using this in combination with maxDocs, consider using a query filter instead.
-
ConstructorDescriptionOnly use for compatibility between deprecated string settings and new secure stringsUse the ctor that takes a
ContextParser
insteadUse the ctor that takes aContextParser
insteadprefer the ctor that takes aContextParser
prefer the ctor that takes aContextParser
-
Enum ConstantDescription