Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: 48e564fada702b36ef6db519a2312257abc13fdf
https://github.com/hibernate/hibernate-search/commit/48e564fada702b36ef6d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/AbstractElasticsearchWorkOrchestrator.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchParallelWorkProcessor.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchSerialWorkProcessor.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchSingleWorkSet.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchWorkOrchestrator.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchWorkProcessor.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchWorkSet.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexIndexingPlan.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexingPlanWorkSet.java
M
backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchParallelWorkProcessorTest.java
M
backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchSerialWorkProcessorTest.java
M
engine/src/main/java/org/hibernate/search/engine/backend/orchestration/spi/AbstractWorkOrchestrator.java
Log Message:
-----------
HSEARCH-3735 Expose the concept of workset to ElasticsearchIndexIndexingPlan
So that we can more easily build a result for each indexing plan.
Commit: 2baa6ca44643a9de5c3121d6aba912409ac6d132
https://github.com/hibernate/hibernate-search/commit/2baa6ca44643a9de5c31...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/AbstractLuceneWriteWorkOrchestrator.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneBatchingWriteWorkOrchestrator.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneEnsureIndexExistsWriteWorkSet.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneSingleWriteWorkSet.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkOrchestrator.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessor.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkSet.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexIndexingPlan.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexingPlanWriteWorkSet.java
Log Message:
-----------
HSEARCH-3735 Expose the concept of workset to LuceneIndexIndexingPlan
Commit: 5b21d502f8b5f43ef24e893618521cd987a442e3
https://github.com/hibernate/hibernate-search/commit/5b21d502f8b5f43ef24e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/StubBackendBehavior.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexIndexer.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexIndexingPlan.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexManager.java
Log Message:
-----------
HSEARCH-3735 Move handling of individual works to
StubIndexIndexingPlan/StubIndexIndexer
So that the next changes are easier to implement.
Commit: 8ca6e1e974d6cd382b52513a5ac3a8f95fd90afb
https://github.com/hibernate/hibernate-search/commit/8ca6e1e974d6cd382b52...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneEnsureIndexExistsWriteWorkSet.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneSingleWriteWorkSet.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessor.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexingPlanWriteWorkSet.java
M
backend/lucene/src/test/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessorTest.java
A
backend/lucene/src/test/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexingPlanWriteWorkSetTest.java
Log Message:
-----------
HSEARCH-3735 Separate reporting of workset failures and previous uncommitted works in
the Lucene indexing plan
... so that we can report workset failures directly to the caller,
in a following commit.
Commit: 8d7511a372bab2cdeb2d6d2cd2f7ed5b47ed8b5b
https://github.com/hibernate/hibernate-search/commit/8d7511a372bab2cdeb2d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
A
backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexingPlanWorkSetTest.java
Log Message:
-----------
HSEARCH-3735 Test ElasticsearchIndexingPlanWorkSet
Commit: 93670601a509ac8bce552958c533d18b199b219a
https://github.com/hibernate/hibernate-search/commit/93670601a509ac8bce55...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/IndexManagerBackendContext.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch67WorkBuilderFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch7WorkBuilderFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/ElasticsearchWorkBuilderFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/impl/DeleteWorkBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/impl/IndexWorkBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexIndexer.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexIndexingPlan.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexWorkspace.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexingPlanWorkSet.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/WorkExecutionBackendContext.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/WorkExecutionIndexManagerContext.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/DeleteWork.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/IndexWork.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/SingleDocumentElasticsearchWork.java
M
backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexingPlanWorkSetTest.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/ShardHolder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexIndexingPlan.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexingPlanWriteWorkSet.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/WorkExecutionIndexManagerContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/AbstractLuceneDeleteEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/AbstractLuceneUpdateEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneAddEntryWork.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneSingleDocumentWriteWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneWorkFactory.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneWorkFactoryImpl.java
M
backend/lucene/src/test/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexingPlanWriteWorkSetTest.java
M
engine/src/main/java/org/hibernate/search/engine/backend/work/execution/spi/IndexIndexingPlan.java
A
engine/src/main/java/org/hibernate/search/engine/backend/work/execution/spi/IndexIndexingPlanExecutionReport.java
M util/common/src/main/java/org/hibernate/search/util/common/impl/Futures.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/StubDocumentReference.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexIndexingPlan.java
Log Message:
-----------
HSEARCH-3735 Add a way to get an execution report from IndexIndexingPlan execution
We'll use it in the next commits.
Commit: 2c386ed19e41795f2cabc0477888438c7a3bcca2
https://github.com/hibernate/hibernate-search/commit/2c386ed19e41795f2cab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
A
engine/src/main/java/org/hibernate/search/engine/backend/common/spi/DocumentReferenceConverter.java
M
engine/src/main/java/org/hibernate/search/engine/search/loading/spi/DefaultProjectionHitMapper.java
R
engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ReferenceHitMapper.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/stub/StubDocumentReferenceConverter.java
R
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/stub/StubReferenceHitMapper.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/scope/impl/SearchScopeImpl.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/loading/context/impl/JavaBeanLoadingContext.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/loading/impl/JavaBeanProjectionHitMapper.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/impl/JavaBeanSearchSession.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmLoadingSessionContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapperUtils.java
Log Message:
-----------
HSEARCH-3735 Rename ReferenceHitMapper and move it to a common package
... so we can start using it for something else than just search.
Commit: 63c07744d2fc0e8275fe720898dc84c25a633c84
https://github.com/hibernate/hibernate-search/commit/63c07744d2fc0e8275fe...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateOrmListenerContextProvider.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/mapping/impl/HibernateOrmMapping.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/AutomaticIndexingSynchronizationConfigurationContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/AutomaticIndexingSynchronizationStrategy.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/ConfiguredAutomaticIndexingSynchronizationStrategy.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/InTransactionWorkQueueSynchronization.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/PostTransactionWorkQueueSynchronization.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/impl/SearchIndexingPlanContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/impl/SearchIndexingPlanImpl.java
Log Message:
-----------
HSEARCH-3735 Overhaul AutomaticIndexingSynchronizationStrategy's API to allow for
context injection
We'll need this context to access the FailureHandler, in particular.
Commit: e775ebcc6bc0c3e9a00b9f675c3025bd5013015e
https://github.com/hibernate/hibernate-search/commit/e775ebcc6bc0c3e9a00b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateOrmListenerContextProvider.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/mapping/impl/HibernateOrmMapping.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
Log Message:
-----------
HSEARCH-3735 Only create configured automatic indexing synchronization strategies in a
session context
Currently it's not really necessary, but we're about to add features
that will require the configured synchronization strategy to have access
to the session.
Commit: 5b931236ee098c99a66b6b409202ac1330835cc1
https://github.com/hibernate/hibernate-search/commit/5b931236ee098c99a66b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
Log Message:
-----------
HSEARCH-3735 Add a minor optimization to HibernateSearchEventListener.onFlush()
Commit: f6398f46e661b12bb5cd7d429c52bd84f5830f79
https://github.com/hibernate/hibernate-search/commit/f6398f46e661b12bb5cd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
M
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/FutureAssert.java
Log Message:
-----------
HSEARCH-3735 Clarify AutomaticIndexingSynchronizationStrategyIT
It involves a bit of copy/pasting, but I think it's more clear this way.
Commit: 84ed7090f7883fe6743d93e56232b1cc32bbe9de
https://github.com/hibernate/hibernate-search/commit/84ed7090f7883fe6743d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
Log Message:
-----------
HSEARCH-3735 Also test indexing failures in AutomaticIndexingSynchronizationStrategyIT
Commit: e28a90b3b0c9959f74cbe636289ca1ed2f6fc6d6
https://github.com/hibernate/hibernate-search/commit/e28a90b3b0c9959f74cb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.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/session/AutomaticIndexingSynchronizationConfigurationContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/AutomaticIndexingSynchronizationStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/ConfiguredAutomaticIndexingSynchronizationStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/SearchIndexingPlanExecutionReport.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/impl/SearchIndexingPlanExecutionReportImpl.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/spi/PojoIndexingPlan.java
Log Message:
-----------
HSEARCH-3735 Make the indexing report available to the automatic indexing
synchronization strategy
Commit: 3afd8704d5ce1900b6c534e331d2e08b69a79c7e
https://github.com/hibernate/hibernate-search/commit/3afd8704d5ce1900b6c5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/AutomaticIndexingSynchronizationStrategy.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/CommittedAutomaticIndexingSynchronizationStrategy.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/QueuedAutomaticIndexingSynchronizationStrategy.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/SearchableAutomaticIndexingSynchronizationStrategy.java
Log Message:
-----------
HSEARCH-3735 Move built-in automatic indexing sychronization strategies to an
implementation package
So that we can add more complex behavior.
Commit: d087e3dd992d0279af491463abfe7916356693a5
https://github.com/hibernate/hibernate-search/commit/d087e3dd992d0279af49...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
documentation/src/test/java/org/hibernate/search/documentation/search/projection/ProjectionDslIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryBaseIT.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdDefaultBridgeIT.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/providedid/ProvidedIdIT.java
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/javabean/src/main/java/org/hibernate/search/mapper/javabean/common/EntityReference.java
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/common/impl/EntityReferenceImpl.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/session/impl/JavaBeanSearchSession.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/common/EntityReference.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/EntityReferenceImpl.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/HibernateOrmContainedTypeContext.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/HibernateOrmMapperDelegate.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/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/mapping/building/impl/PojoIdentityMappingCollectorImpl.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/PojoMapperDelegate.java
Log Message:
-----------
HSEARCH-3735 Use a better format including the entity name for
EntityReference.toString()
Because we're going to display entity references in exceptions/logs.
Commit: daaa9ff20cae0f7751636f16bcaf0cf2512c16a4
https://github.com/hibernate/hibernate-search/commit/daaa9ff20cae0f775163...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkExecutionContext.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkSequenceBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/HibernateSearchConcurrentMergeScheduler.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneEnsureIndexExistsWriteWorkSet.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneSingleWriteWorkSet.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessor.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexingPlanWriteWorkSet.java
M
engine/src/main/java/org/hibernate/search/engine/backend/orchestration/spi/BatchingExecutor.java
M engine/src/main/java/org/hibernate/search/engine/reporting/FailureContext.java
M
engine/src/main/java/org/hibernate/search/engine/reporting/IndexFailureContext.java
R
engine/src/main/java/org/hibernate/search/engine/reporting/spi/FailureContextImpl.java
R
engine/src/main/java/org/hibernate/search/engine/reporting/spi/IndexFailureContextImpl.java
M
engine/src/test/java/org/hibernate/search/engine/reporting/impl/FailSafeFailureHandlerWrapperTest.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/FailureHandledRunnable.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierConsumerDocumentProducer.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierProducer.java
Log Message:
-----------
HSEARCH-3735 Move failure context building to API
We need to if we want to allow automatic indexing synchronization
strategies to have access to the FailureHandler.
Commit: fd84fe76bdb94f68fe99a7cb417804fe98e69662
https://github.com/hibernate/hibernate-search/commit/fd84fe76bdb94f68fe99...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M documentation/src/main/asciidoc/configuration.asciidoc
M
documentation/src/test/java/org/hibernate/search/documentation/reporting/failurehandler/MyFailureHandler.java
A
engine/src/main/java/org/hibernate/search/engine/reporting/EntityIndexingFailureContext.java
M engine/src/main/java/org/hibernate/search/engine/reporting/FailureHandler.java
M
engine/src/main/java/org/hibernate/search/engine/reporting/impl/FailSafeFailureHandlerWrapper.java
M
engine/src/main/java/org/hibernate/search/engine/reporting/impl/LogFailureHandler.java
M
engine/src/test/java/org/hibernate/search/engine/reporting/impl/FailSafeFailureHandlerWrapperTest.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/StubFailureHandler.java
Log Message:
-----------
HSEARCH-3735 Add an "entity indexing failure" to the failure handler
Commit: 4fa0deb9350247b1ca827007236abfc68fc285dd
https://github.com/hibernate/hibernate-search/commit/4fa0deb9350247b1ca82...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/AutomaticIndexingSynchronizationConfigurationContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/ConfiguredAutomaticIndexingSynchronizationStrategy.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/HibernateOrmSearchSessionMappingContext.java
Log Message:
-----------
HSEARCH-3735 Expose the FailureHandler to automatic indexing synchronization
strategies
Commit: 3e6afbb5848fbfdba538281a43f250bc6cf8b552
https://github.com/hibernate/hibernate-search/commit/3e6afbb5848fbfdba538...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/CommittedAutomaticIndexingSynchronizationStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/QueuedAutomaticIndexingSynchronizationStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/SearchableAutomaticIndexingSynchronizationStrategy.java
Log Message:
-----------
HSEARCH-3735 Report entities that failed to be reindexed if indexing fails after
transaction commit
Commit: edfb4c36c518c78619ae2da652461d9a88ee58d8
https://github.com/hibernate/hibernate-search/commit/edfb4c36c518c78619ae...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/SynchronizationAdapter.java
Log Message:
-----------
HSEARCH-3735 Use a more appropriate exception type and message for errors within
transaction synchronizations
Commit: a66521116c0ae23edc39cdeed663cdd1b5ec3c8e
https://github.com/hibernate/hibernate-search/commit/a66521116c0ae23edc39...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkSequenceBuilderTest.java
Log Message:
-----------
HSEARCH-3735 Consistently test the result of individual works in
ElasticsearchDefaultWorkSequenceBuilderTest
This is where the data for the IndexingPlanExecutionReport comes from,
so it's critical it behaves properly.
Commit: b7bb7e607f23aa7592a2e2103c97c6aea7886ee3
https://github.com/hibernate/hibernate-search/commit/b7bb7e607f23aa7592a2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkSequenceBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchWorkOrchestratorProvider.java
M
backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkSequenceBuilderTest.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneEnsureIndexExistsWriteWorkSet.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneSingleWriteWorkSet.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessor.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexingPlanWriteWorkSet.java
M
backend/lucene/src/test/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexingPlanWriteWorkSetTest.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/AbstractIndexWorkspaceSimpleOperationIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexIndexerIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexIndexingPlanIT.java
Log Message:
-----------
HSEARCH-3735 Remove the systematic calls to the failure handler when index operations
fail
These failures are now propagated to the mapper through the
CompletableFuture, either directly as an exception (Indexer, Workspace)
or in an IndexingPlanExecutionReport.
The mapper is free to report the failures as it sees fit and thus we
don't need to report them at the index level.
Commit: 8fb96b179bf03a63b3e877e8784eeea6ab49c104
https://github.com/hibernate/hibernate-search/commit/8fb96b179bf03a63b3e8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkSequenceBuilder.java
M
backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkSequenceBuilderTest.java
Log Message:
-----------
HSEARCH-3735 Do not report exceptions twice in Elasticsearch work sequences
We build an IndexingPlanExecutionReport out of the result of:
1. each work's future
2. the sequence's future
We should not throw each work's exception through the sequence's future,
otherwise that exception will be reported twice.
Commit: b6d5aab0441376ddf3d8d662d23db4f72ea05aa9
https://github.com/hibernate/hibernate-search/commit/b6d5aab0441376ddf3d8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingFailureIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchCoordinator.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchIndexingWorkspace.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierConsumerDocumentProducer.java
Log Message:
-----------
HSEARCH-3735 Use the failure handler's "entity indexing failure" handling
for mass indexing failures
Commit: 4eb52bceaaed5592196ae00c6a376787672d43cb
https://github.com/hibernate/hibernate-search/commit/4eb52bceaaed5592196a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M documentation/src/main/asciidoc/configuration.asciidoc
M documentation/src/main/asciidoc/mapper-orm-indexing-automatic.asciidoc
Log Message:
-----------
HSEARCH-3735 Document failure handling depending on the automatic indexing
synchronization strategy
Commit: 5803804d291aa28704c6f68133fb4b4593cd0dc4
https://github.com/hibernate/hibernate-search/commit/5803804d291aa28704c6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-24 (Thu, 24 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingFailureIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchIndexingWorkspace.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierConsumerDocumentProducer.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierProducer.java
Log Message:
-----------
HSEARCH-3735 Improve description of operations on mass indexing failure
Compare:
https://github.com/hibernate/hibernate-search/compare/1be6d9f636fb...5803...