Deprecated API
Contents
-
InterfaceDescriptionImplement
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.UseEntityReference
instead.move toMassIndexingFailureHandler
.move toMassIndexingMonitor
.Use/implementValueHandleFactory
instead.
-
ClassDescriptionUse
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.
-
FieldDescriptionThe 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 theElasticsearchBackendSettings.VERSION_CHECK_ENABLED
property is now dynamic and depends on the value of theElasticsearchBackendSettings.VERSION
property.The default for theElasticsearchIndexSettings.SCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUS
property is now dynamic and depends on the targeted Elasticsearch distribution.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
.org.hibernate.search.mapper.orm.cfg.HibernateOrmMapperSettings.AUTOMATIC_INDEXING_ENABLE_DIRTY_CHECKThis setting will be removed in a future version. There will be no alternative provided to replace it. After the removal of this property in a future version, a dirty check will always be performed when considering whether to trigger reindexing.UseHibernateOrmMapperSettings.INDEXING_LISTENERS_ENABLED
instead (caution: it expects a boolean value).This setting will be removed in a future version. There will be no alternative provided to replace it. After the removal of this property in a future version, a dirty check will always be performed when considering whether to trigger reindexing.UseHibernateOrmMapperSettings.IndexingRadicals.LISTENERS_ENABLED
instead (caution: it expects a boolean value).This setting will be removed in a future version. There will be no alternative provided to replace it. After the removal of this property in a future version, a dirty check will always be performed when considering whether to trigger reindexing.Use the new configuration property instead:HibernateOrmMapperSettings.AUTOMATIC_INDEXING_STRATEGY
, (caution: it expects a boolean value, and its default isHibernateOrmMapperSettings.Defaults.ENABLED
).This setting will be removed in a future version. There will be no alternative provided to replace it. After the removal of this property in a future version, a dirty check will always be performed when considering whether to trigger reindexing.UseHibernateOrmMapperSettings.Radicals.AUTOMATIC_INDEXING_ENABLED
instead (caution: it expects a boolean value).
-
MethodDescriptionUse
ElasticsearchVersion.majorOptional()
instead.UseKeyContext.asIntegerPositiveOrZeroOrNegative()
instead.UseKeyContext.asLongPositiveOrZeroOrNegative()
instead.UsePredicateDefinitionContext.param(String, Class)
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.UseBindingContext.param(String, Class)
instead.UseBindingContext.paramOptional(String, Class)
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.UsePojoMappingDelegate.createPojoScopeForClasses(PojoScopeMappingContext, Collection, PojoScopeTypeExtendedContextProvider)
orPojoMappingDelegate.createPojoScopeForEntityNames(PojoScopeMappingContext, Class, Collection, PojoScopeTypeExtendedContextProvider)
orPojoMappingDelegate.createPojoAllScope(PojoScopeMappingContext, PojoScopeTypeExtendedContextProvider)
instead.Use/implementPojoBootstrapIntrospector.annotationValueHandleFactory()
instead.UsePojoScopeDelegate.workspace(String)
instead.UseProjectionBindingContext.param(String, Class)
instead.UsetypeIfIncludedOrNull(typeIdentifier)
instead, then (if non-null).add(...)
on the result.UsetypeIfIncludedOrNull(typeIdentifier)
instead, then (if non-null).addOrUpdate(...)
on the result.UsetypeIfIncludedOrNull(typeIdentifier)
instead, then (if non-null).addOrUpdateOrDelete(...)
on the result.UsetypeIfIncludedOrNull(typeIdentifier)
instead, then (if non-null).delete(...)
on the result.UsetypeIfIncludedOrNull(typeIdentifier)
instead, then (if non-null).updateAssociationInverseSide(...)
on the result.UseValueHandleFactory.usingJavaLangReflect()
instead.
-
ConstructorDescriptionUse
AbstractPojoMappingImplementor
. This constructor is only present for backwards compatibility, for mappers that expose a custom entity reference type.
-
Enum ConstantDescription
-
Annotation Type ElementDescriptionUse
IndexedEmbedded.name()
instead. Note thatIndexedEmbedded.name()
does not allow dots.
ElasticsearchAwsCredentialsProvider
instead.