Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionImplement
FromDocumentValueConverter
instead.UseFromDocumentValueConverter
withFromDocumentValueConvertContext
instead.UseToDocumentValueConverter
withToDocumentValueConvertContext
instead.UseToDocumentValueConverter
withToDocumentValueConvertContext
andToDocumentValueConvertContextExtension
instead.ImplementToDocumentValueConverter
instead.UseSearchPredicateFactory.nested(String)
instead.UseSearchPredicateFactory.nested(String)
instead.UseSearchPredicateFactory.nested(String)
instead.This SPI was introduced by mistake and was never used.move toMassIndexingFailureHandler
.move toMassIndexingMonitor
.ImplementPojoPathDefinitionProvider
instead.Use/implementValueHandleFactory
instead.
-
Deprecated ClassesClassDescriptionUse
ElasticsearchBackendImplSettings
instead.SPIs should simply pass around a string representing the tenant ID instead of using this class. In cases where the mapping context is also necessary, it should be passed around as a separate parameter.
-
Deprecated Enums
-
Deprecated FieldsFieldDescriptionThe default for this property is now dynamic and depends on the mapper. If the multi-tenancy is enabled in the mapper, the default is
MultiTenancyStrategyName.DISCRIMINATOR
. Otherwise, the default is stillMultiTenancyStrategyName.NONE
.The default for this property is now dynamic and depends on the mapper. If the multi-tenancy is enabled in the mapper, the default isMultiTenancyStrategyName.DISCRIMINATOR
. Otherwise, the default is stillMultiTenancyStrategyName.NONE
.UseHibernateOrmMapperSettings.AUTOMATIC_INDEXING_ENABLED
instead (caution: it expects a boolean value).UseHibernateOrmMapperSettings.AutomaticIndexingRadicals.ENABLED
instead (caution: it expects a boolean value).Use the new configuration property instead:HibernateOrmMapperSettings.AUTOMATIC_INDEXING_STRATEGY
, (caution: it expects a boolean value, and its default isHibernateOrmMapperSettings.Defaults.ENABLED
).UseHibernateOrmMapperSettings.Radicals.AUTOMATIC_INDEXING_ENABLED
instead (caution: it expects a boolean value).
-
Deprecated MethodsMethodDescriptionUse
KeyContext.asIntegerPositiveOrZeroOrNegative()
instead.UseKeyContext.asLongPositiveOrZeroOrNegative()
instead.Use.bool().with(...)
instead.UseSearchPredicateFactory.nested(String)
instead.Use.composite().from( dslFinalStep1, dslFinalStep2 ).as( transformer )
instead.Use.composite().from( projection1, projection2 ).as( transformer )
instead.Use.composite().from( dslFinalSteps ).asList( transformer )
instead.Use.composite().from( projections ).asList( transformer )
instead.Use.composite().from( dslFinalStep ).as( transformer )
instead.Use.composite().from( projection ).as( transformer )
instead.Use.composite().from( dslFinalStep1, dslFinalStep2, dslFinalStep3 ).as( transformer )
instead.Use.composite().from( projection1, projection2, projection3 ).as( transformer )
instead.UseVersion.versionString()
instead.UseFromDocumentValueConverter
andFromDocumentValueConvertContext
instead.UseToDocumentFieldValueConverter
andToDocumentFieldValueConvertContext
instead.UseIndexedEmbedded.name()
instead. Note thatIndexedEmbedded.name()
does not allow dots.Pass a field name toPropertyMappingStep.indexedEmbedded(String)
instead. Note that the name passed to that method does not allow dots.UseAnnotationMappingConfigurationContext.discoverAnnotationsFromReferencedTypes(boolean)
on the object returned byAbstractPojoMappingInitiator.annotationMapping()
instead.Use/implementPojoBootstrapIntrospector.annotationValueHandleFactory()
instead.UsePojoScopeDelegate.workspace(String)
instead.UseValueHandleFactory.usingJavaLangReflect()
instead.
-
Deprecated Enum ConstantsEnum ConstantDescriptionThis strategy will be removed in a future version of Lucene.
-
Deprecated Annotation Type ElementsAnnotation Type ElementDescriptionUse
IndexedEmbedded.name()
instead. Note thatIndexedEmbedded.name()
does not allow dots.
ElasticsearchAwsCredentialsProvider
instead.