Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-search
Commit: 795856bdbf3b46271ec099999046cc220959b8f5
https://github.com/hibernate/hibernate-search/commit/795856bdbf3b46271ec0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-23 (Tue, 23 Nov 2021)
Changed paths:
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/processing/impl/NoOpPojoIndexingProcessor.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessor.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorCastedTypeNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorContainerElementNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorMultiNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorOriginalTypeNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorPropertyBridgeNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorPropertyNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorTypeBridgeNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorValueBridgeNode.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/spi/PojoIndexingProcessorRootContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoDocumentContributor.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/PojoTypeIndexer.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanIndexDelegate.java
M
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
Log Message:
-----------
HSEARCH-4365 Pass a context encompassing the whole indexing plan to indexing
processors
This will be necessary to pass the information "is this entity deleted
or not" to the indexing processor, in the next commits.
Commit: ca8c3705056f687050792c5a67585234f8d17b81
https://github.com/hibernate/hibernate-search/commit/ca8c3705056f68705079...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-23 (Tue, 23 Nov 2021)
Changed paths:
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/IdentifierMappingImplementor.java
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/identity/impl/PropertyIdentifierMapping.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/ProvidedIdentifierMapping.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/UnconfiguredIdentifierMapping.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/identity/impl/UnmappedPropertyIdentifierMapping.java
Log Message:
-----------
HSEARCH-4365 Make it possible to retrieve the ID of a contained entity as soon as it has
an entity ID
... even if that entity ID isn't mapped anywhere.
Commit: df62e674a3a4a862454ff300099e4617b5d46f21
https://github.com/hibernate/hibernate-search/commit/df62e674a3a4a862454f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-23 (Tue, 23 Nov 2021)
Changed paths:
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/PojoIndexingPlanImpl.java
Log Message:
-----------
HSEARCH-4365 Delay clearing the PojoIndexingPlan states until all elements have been
processed
... so that we can know if an entity was marked as "deleted" during the
whole process, which will be useful in the next commits.
Commit: 55f55bc0e14d06b26b45845e4f97a2c3c0404174
https://github.com/hibernate/hibernate-search/commit/55f55bc0e14d06b26b45...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-23 (Tue, 23 Nov 2021)
Changed paths:
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanImpl.java
Log Message:
-----------
HSEARCH-4365 Discard state about contained types too on transaction rollback
Not sure it matters much in practice, but it's just something I noticed
and think should be fixed.
Commit: e79d44b628294089e1314cccb235763e69f42dd2
https://github.com/hibernate/hibernate-search/commit/e79d44b628294089e131...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-23 (Tue, 23 Nov 2021)
Changed paths:
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/AnnotationMappingSmokeIT.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/ProgrammaticMappingSmokeIT.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/impl/PojoMappingHelper.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/processing/building/impl/AbstractPojoIndexingProcessorTypeNodeBuilder.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/impl/PojoIndexingProcessorCastedTypeNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorOriginalTypeNode.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/spi/PojoIndexingProcessorRootContext.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/PojoIndexingPlanImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexer.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkTypeContext.java
Log Message:
-----------
HSEARCH-4365 Ignore deleted entities in the entity graph when processing entities for
indexing
Commit: 006f7bda0c679ab7f333589a3581bd0bcc193bc5
https://github.com/hibernate/hibernate-search/commit/006f7bda0c679ab7f333...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-23 (Tue, 23 Nov 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/bytype/AbstractAutomaticIndexingAssociationBaseIT.java
Log Message:
-----------
HSEARCH-4365 Test reindexing with deleted entities still in the entity graph
Compare:
https://github.com/hibernate/hibernate-search/compare/00822b8e5f22...006f...