Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-search
Commit: ef924c7ed08d1d8a1148903c813949b3cbd40656
https://github.com/hibernate/hibernate-search/commit/ef924c7ed08d1d8a1148...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/impl/JavaBeanIndexedTypeContext.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/impl/JavaBeanSessionIndexedTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmIndexedTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSessionIndexedTypeContext.java
R
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/IdentifierMappingImplementor.java
R
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/PropertyIdentifierMapping.java
R
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/ProvidedIdentifierMapping.java
R
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/spi/IdentifierMapping.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/IdentifierMappingImplementor.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/PojoIdentityMappingCollector.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/PojoRootIdentityMappingCollector.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/PropertyIdentifierMapping.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/ProvidedIdentifierMapping.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/spi/IdentifierMapping.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexedTypeManagerBuilder.java
R
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoRootIdentityMappingCollector.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/spi/PojoIndexedTypeExtendedMappingCollector.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingIndexedTypeContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/AbstractPojoIndexingProcessorTypeNodeBuilder.java
R
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIdentityMappingCollector.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexedEmbeddedIdentityMappingCollector.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorCastedTypeNodeBuilder.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorOriginalTypeNodeBuilder.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorPropertyNodeBuilder.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/search/loading/impl/PojoSearchLoadingIndexedTypeContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingQueueEventProcessingPlanImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkIndexedTypeContext.java
Log Message:
-----------
HSEARCH-4141 Move code related to POJO identifiers to a dedicated package
It won't be just for indexing processors anymore.
Commit: 4f800088921304bdebb214e002591b32a76aab3f
https://github.com/hibernate/hibernate-search/commit/4f800088921304bdebb2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/PojoRootIdentityMappingCollector.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexedTypeManagerBuilder.java
Log Message:
-----------
HSEARCH-4141 Move RoutingBridge out of PojoIdentityMappingCollector
They are no longer related since the routing bridge is now set as part
of the @Indexed annotation (and has been since one of the CRs of 6.0.0).
Commit: 3825d21681ecbfd4d80394c4c40c7f9840375d83
https://github.com/hibernate/hibernate-search/commit/3825d21681ecbfd4d803...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
engine/src/main/java/org/hibernate/search/engine/common/impl/BackendBuildContextImpl.java
M
engine/src/main/java/org/hibernate/search/engine/common/impl/IndexManagerBuildingStateHolder.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/spi/BackendsInfo.java
A engine/src/main/java/org/hibernate/search/engine/tenancy/spi/TenancyMode.java
M
engine/src/test/java/org/hibernate/search/engine/common/impl/IndexManagerBuildingStateHolderTest.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/rule/SearchSetupHelper.java
M
integrationtest/performance/backend/base/src/main/java/org/hibernate/search/integrationtest/performance/backend/base/testsupport/index/AbstractBackendHolder.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/AbstractPojoMappingInitiator.java
M
util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/StubMapper.java
M
util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/StubMappingInitiator.java
Log Message:
-----------
HSEARCH-4141 Use an enum instead of booleans for the tenancy mode
I am going to add another "boolean-like" parameter in the mapper in the
next commit, so let's make sure we don't end up with functions expecting
many booleans as parameters, which can lead to passing booleans in the
wrong order.
Commit: c81c38276284a61dc3a56f3f1bba7f99de6f2e06
https://github.com/hibernate/hibernate-search/commit/c81c38276284a61dc3a5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBridgeBaseIT.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/TypeBridgeBaseIT.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/loading/impl/JavaBeanLoadingContext.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/loading/impl/JavaBeanLoadingTypeGroup.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/loading/impl/LoadingTypeContextProvider.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/SearchMappingBuilder.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/impl/AbstractJavaBeanTypeContext.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/impl/JavaBeanContainedTypeContext.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/impl/JavaBeanIndexedTypeContext.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/impl/JavaBeanMapperDelegate.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/impl/JavaBeanTypeContextContainer.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/work/impl/SearchIndexingPlanImpl.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/work/impl/SearchIndexingPlanTypeContext.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/work/impl/SearchIndexingPlanTypeContextProvider.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoadingStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityLoadingStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoadingStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmSelectionEntityByNonIdPropertyLoader.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmSelectionLoadingContext.java
R
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/LoadingIndexedTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/LoadingIndexedTypeContextProvider.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/LoadingTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/AbstractHibernateOrmTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmIndexedTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmTypeContextContainer.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/HibernateOrmMassIndexingContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/HibernateOrmMassIndexingIndexedTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/scope/impl/HibernateOrmScopeIndexedTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSessionIndexedTypeContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/DefaultIdentifierBindingContext.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/AbstractIdentityMappingCollectorNode.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/IdentityMappingCollectorPropertyNode.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/IdentityMappingCollectorTypeNode.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/IdentityMappingCollectorValueNode.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/IdentityMappingMode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/PojoRootIdentityMappingCollector.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/UnconfiguredIdentifierMapping.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexModelBinder.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexModelBinderImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexedTypeManagerBuilder.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/spi/PojoIndexedTypeExtendedMappingCollector.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/spi/PojoTypeExtendedMappingCollector.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/AbstractPojoTypeManager.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoContainedTypeManager.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoContainedTypeManagerContainer.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/AbstractPojoMappingInitiator.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeContainedTypeContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/AbstractPojoTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoContainedTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexedTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkContainedTypeContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkContainedTypeContextProvider.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkIndexedTypeContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkTypeContext.java
Log Message:
-----------
HSEARCH-4141 ID mapping and entity loading for contained entity types
Commit: 996e08c44cb4f944b140e2311104b110adc388de
https://github.com/hibernate/hibernate-search/commit/996e08c44cb4f944b140...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/AbstractPojoIndexingOperationIT.java
A
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/ContainedEntity.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/IndexedEntity.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingOperation.java
A
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingPlanOperationContainedNullEntityIT.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingPlanOperationNullEntityIT.java
Log Message:
-----------
HSEARCH-4141 Test loading of contained entities in indexing plans
Commit: da9bf9d3a555c5f89bd0157b036e47ab383e38b3
https://github.com/hibernate/hibernate-search/commit/da9bf9d3a555c5f89bd0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoMappingDelegateImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/AbstractPojoMappingImplementor.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingDelegate.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/AbstractPojoTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoContainedTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexedTypeIndexingPlan.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanEventProcessingStrategy.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanEventSendingStrategy.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanImpl.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanLocalStrategy.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanStrategy.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoLoadingPlanProvider.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanEventQueueDelegate.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanIndexDelegate.java
Log Message:
-----------
HSEARCH-4141 Refactor PojoIndexinPlan behaviors into strategies
To clarify what the behavior is in each case, and to facilitate the
introduction of more complex behavior in the next commits.
Commit: 68c157e3c3748e385569d84790d7a1a28808f36a
https://github.com/hibernate/hibernate-search/commit/68c157e3c3748e385569...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/PojoIndexingPlanBaseIT.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/work/SearchIndexingPlan.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/work/impl/SearchIndexingPlanImpl.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/impl/SearchIndexingPlanImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverDirtinessFilterNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverRootContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/AbstractPojoTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexedTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingQueueEventProcessingPlanImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoIndexingPlan.java
Log Message:
-----------
HSEARCH-4141 Allow forcing dirtiness explicitly in POJO indexing plans
This will be useful in the next commits, in order to handle dirtiness
when processing outbox events.
Commit: 52ab60e015ff1792ca6a6ad9bb63d238dd0ac0df
https://github.com/hibernate/hibernate-search/commit/52ab60e015ff1792ca6a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexedTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanDelegate.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanEventQueueDelegate.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanIndexDelegate.java
Log Message:
-----------
HSEARCH-4141 More consistent order of parameters in PojoTypeIndexingPlanDelegate
Commit: fa6071a7afd26aed73b8b225724d855868cfddaa
https://github.com/hibernate/hibernate-search/commit/fa6071a7afd26aed73b8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/automaticindexing/LocalHeapQueueProcessor.java
Log Message:
-----------
HSEARCH-4141 Clean up pointless or incorrect code in LocalHeapQueueProcessor
Commit: 3696516e5466b214f763ff60a52a10d6770bafea
https://github.com/hibernate/hibernate-search/commit/3696516e5466b214f763...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxAdditionalJaxbMappingProducer.java
Log Message:
-----------
HSEARCH-4141 Fix a few pre-existing compiler warnings
Commit: d44699aa5d9745a17038b37704ae538772878550
https://github.com/hibernate/hibernate-search/commit/d44699aa5d9745a17038...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmIntegrationBooterImpl.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmMapperSettings.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapperDelegate.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapping.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingInitiator.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingPartialBuildState.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/ConfiguredAutomaticIndexingStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSessionMappingContext.java
Log Message:
-----------
HSEARCH-4141 Move automatic indexing strategy configuration to a very early stage of
startup
We will need this in the next commits, because the automatic indexing
strategy will decide of some mapping settings that are set very early.
Commit: 8db903f0abc18318a231c0b6166b0b5912da2fa8
https://github.com/hibernate/hibernate-search/commit/8db903f0abc18318a231...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingInitiator.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/ConfiguredAutomaticIndexingStrategy.java
Log Message:
-----------
HSEARCH-4141 Require identity mapping for contained entities when using automatic
indexing strategies that involve event queues
Commit: 9e23f320741483674bcae779f21be53ea91627c4
https://github.com/hibernate/hibernate-search/commit/9e23f320741483674bca...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoContainedTypeManagerContainer.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoMappingDelegateImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingQueueEventProcessingPlanImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkContainedTypeContextProvider.java
Log Message:
-----------
HSEARCH-4141 Allow event processing for contained types
Commit: 635a9a07cc265d72720befd6100fe3e7e200652f
https://github.com/hibernate/hibernate-search/commit/635a9a07cc265d72720b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/bridge/AutomaticIndexingBridgeExplicitReindexingFunctionalIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/localheapqueue/LocalHeapQueueAutomaticIndexingStrategyBaseIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingAutomaticIndexingStrategyBaseIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingNoProcessingIT.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/automaticindexing/impl/AutomaticIndexingQueueEventProcessingPlanImpl.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/automaticindexing/impl/HibernateOrmIndexingQueueEventSendingPlan.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/automaticindexing/spi/AutomaticIndexingQueueEventProcessingPlan.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/automaticindexing/spi/AutomaticIndexingQueueEventSendingPlan.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxAdditionalJaxbMappingProducer.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEvent.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEventBackgroundExecutor.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEventProcessingPlan.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxTableSendingPlan.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/ConfiguredAutomaticIndexingStrategy.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverBuildingHelper.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexedTypeManagerBuilder.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/AbstractPojoTypeManager.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoContainedTypeManager.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoMappingDelegateImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/AbstractPojoMappingImplementor.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingDelegate.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/path/impl/PojoPathFilterImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/path/impl/PojoPathFilterProvider.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/path/impl/PojoPathOrdinals.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/path/spi/PojoPathFilter.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/route/DocumentRoutesDescriptor.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeIndexedTypeContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/session/spi/PojoSearchSessionMappingContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/AbstractPojoTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoContainedTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexedTypeIndexingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanEventProcessingStrategy.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanEventSendingStrategy.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanLocalStrategy.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanStrategy.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingQueueEventProcessingPlanImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanDelegate.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanEventQueueDelegate.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanIndexDelegate.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanIndexOrEventQueueDelegate.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkIndexedTypeContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkTypeContext.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoIndexingQueueEventPayload.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoIndexingQueueEventProcessingPlan.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoIndexingQueueEventSendingPlan.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/UpdateCauseDescriptor.java
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/automaticindexing/LocalHeapQueueAutomaticIndexingStrategy.java
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/automaticindexing/LocalHeapQueueIndexingEvent.java
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/automaticindexing/LocalHeapQueueProcessor.java
Log Message:
-----------
HSEARCH-4141 Move the resolution of containing entities to reindex to background
processes
I.e. we now send an event for every contained entity that was modified,
with information about the change (dirty paths), and in the background
automatic indexing process, we load containing entities and mark them
as requiring reindexing.
Commit: 8d87b4690fc932b2ee89b5be2348b200e2bb3e6e
https://github.com/hibernate/hibernate-search/commit/8d87b4690fc932b2ee89...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingNoProcessingIT.java
Log Message:
-----------
HSEARCH-4141 Use soft assertions for better errors in OutboxPollingNoProcessingIT
Commit: bc70d7fb85c0362aff36cfdecc2f215a1fd4ba3a
https://github.com/hibernate/hibernate-search/commit/bc70d7fb85c0362aff36...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingNoProcessingIT.java
Log Message:
-----------
HSEARCH-4141 Test that outbox events are generated properly for contained entities
Commit: 0fc5b330e02d4555e2ff057aac9757c759f992e1
https://github.com/hibernate/hibernate-search/commit/0fc5b330e02d4555e2ff...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingAutomaticIndexingStrategyLifecycleIT.java
A
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingEventSendingIT.java
R
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingNoProcessingIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingOutOfOrderIdsIT.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
Log Message:
-----------
HSEARCH-4141 Test that processing outbox events for contained entities yields more
events for containing entities
Commit: a2faddec3ca2b26e75f45a128b6d1d60c93e51ae
https://github.com/hibernate/hibernate-search/commit/a2faddec3ca2b26e75f4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/automaticindexing/LocalHeapQueueAutomaticIndexingStrategy.java
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/automaticindexing/LocalHeapQueueIndexingEvent.java
Log Message:
-----------
HSEARCH-4141 Add logging to LocalHeapQueueAutomaticIndexingStrategy
To ease debugging.
Commit: d4fff1bf3f9b7bd88971c059e151f2f4ddc77f73
https://github.com/hibernate/hibernate-search/commit/d4fff1bf3f9b7bd88971...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/automaticindexing/LocalHeapQueueProcessor.java
Log Message:
-----------
HSEARCH-4141 Don't accumulate events in the processing plan in
LocalHeapQueueProcessor
We used to accumulate events in the processing plan, and because the
sending plans usually don't get cleared after executions, that meant we
would re-send events generated by previous batches on each new batch...
Causing lots of background failures.
Commit: ced7dddaba37c4f490ad6858a72f3c91d0652b60
https://github.com/hibernate/hibernate-search/commit/ced7dddaba37c4f490ad...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxTableSendingPlan.java
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/automaticindexing/LocalHeapQueueAutomaticIndexingStrategy.java
Log Message:
-----------
HSEARCH-4141 Clear AutomaticIndexingQueueEventSendingPlans upon execution
Similarly to IndexIndexingPlan.
This should prevent problems such as the one we solved in the previous
commit.
Compare:
https://github.com/hibernate/hibernate-search/compare/5fce0455b82a...ced7...