[hibernate/hibernate-search] 48e564: HSEARCH-3735 Expose the concept of workset to Elas...
by Yoann Rodière
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...
5 years, 2 months
[hibernate/hibernate-search] df4fb8: HSEARCH-3740 Upgrade to AssertJ 3.13.2
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: df4fb86c58de46b8759a4c7e76413463af62e0f4
https://github.com/hibernate/hibernate-search/commit/df4fb86c58de46b8759a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-3740 Upgrade to AssertJ 3.13.2
To benefit from AbstractObjectAssert.extracting(Function<ACTUAL, T>)
returning an assertion on an object of type T, which allows chaining
extracting() calls.
Commit: 95dfaed3ee72a27efe2dafc35610c41f4daa6c20
https://github.com/hibernate/hibernate-search/commit/95dfaed3ee72a27efe2d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/FieldValueReadHandle.java
M util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/MethodValueReadHandle.java
Log Message:
-----------
HSEARCH-3740 Correctly interpret checked exceptions in FieldValueReadHandle/MethodValueReadHandle
Commit: e6af74a4d6e32b56d728769ca567e303d4a54ed6
https://github.com/hibernate/hibernate-search/commit/e6af74a4d6e32b56d728...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M util/common/src/main/java/org/hibernate/search/util/common/impl/Throwables.java
M util/common/src/main/java/org/hibernate/search/util/common/logging/impl/Log.java
M util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/FieldValueReadHandle.java
M util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/MethodHandleValueReadHandle.java
M util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/MethodValueReadHandle.java
Log Message:
-----------
HSEARCH-3740 Correctly report exception when entity.toString() fails in ValueReadHandle.get()
Commit: d65443d36aafe295657770821019bb1014c11bc2
https://github.com/hibernate/hibernate-search/commit/d65443d36aafe2956577...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/ValueReadHandleTest.java
M util/internal/test/src/main/java/org/hibernate/search/util/impl/test/SubTest.java
Log Message:
-----------
HSEARCH-3740 Test exception handling in ValueReadHandle
Compare: https://github.com/hibernate/hibernate-search/compare/8d7ffeb56226...d654...
5 years, 2 months
[hibernate/hibernate-search] a05e07: HSEARCH-3721 Remove uses of deprecated APIs in tests
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: a05e07b6563b9118fc59e35ecc55fb8010d5845c
https://github.com/hibernate/hibernate-search/commit/a05e07b6563b9118fc59...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/containerextractor/ContainerExtractorIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexedembedded/includepaths/IndexedEmbeddedIncludePathsIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexedembedded/includepathsanddepth/IndexedEmbeddedIncludePathsAndDepthIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexedembedded/none/IndexedEmbeddedNoneIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexedembedded/onelevel/IndexedEmbeddedOneLevelIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexedembedded/twolevels/IndexedEmbeddedTwoLevelsIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/mappingconfigurer/MappingConfigurerIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/reindexing/associationinverseside/AssociationInverseSideIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/reindexing/derivedfrom/DerivedFromIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/reindexing/reindexonupdate/ReindexOnUpdateIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/spatial/genericfield/GeoPointGenericFieldIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/spatial/geopointbinding/multiple/GeoPointBindingMultipleIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/spatial/geopointbinding/property/GeoPointBindingPropertyIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/spatial/geopointbinding/type/GeoPointBindingTypeIT.java
M documentation/src/test/java/org/hibernate/search/documentation/search/predicate/PredicateDslIT.java
M documentation/src/test/java/org/hibernate/search/documentation/search/query/QueryDslIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/decimalscale/DecimalScaleIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryFetchIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryBaseIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/repository/indexsearch/IndexSearchLibraryRepositoryImpl.java
Log Message:
-----------
HSEARCH-3721 Remove uses of deprecated APIs in tests
Commit: 3d68f082ea7e56d7c21c89721a6849b13a8fcc91
https://github.com/hibernate/hibernate-search/commit/3d68f082ea7e56d7c21c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/ExistsPredicateFieldStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/MatchPredicateFieldMoreStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/MatchPredicateFieldStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/NestedPredicateFieldStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/PhrasePredicateFieldMoreStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/PhrasePredicateFieldStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RangePredicateFieldMoreStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RangePredicateFieldStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SimpleQueryStringPredicateFieldMoreStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SimpleQueryStringPredicateFieldStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SpatialWithinPredicateFieldMoreStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SpatialWithinPredicateFieldStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/WildcardPredicateFieldMoreStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/WildcardPredicateFieldStep.java
Log Message:
-----------
HSEARCH-3721 Remove deprecated onField/orField methods from the predicate DSL
Commit: e9aac57256e8138d1ebdf97fdf4cbc0dea124755
https://github.com/hibernate/hibernate-search/commit/e9aac57256e8138d1ebd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/SearchSortFactory.java
Log Message:
-----------
HSEARCH-3721 Remove deprecated by*() method from the Sort DSL
Commit: 9e5f3ddbc4057c05cf939c969751352003e61fff
https://github.com/hibernate/hibernate-search/commit/9e5f3ddbc4057c05cf93...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisOptionalComponentsStep.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalyzerTokenizerStep.java
Log Message:
-----------
HSEARCH-3721 Remove deprecated with*() methods in Elasticsearch analysis DSL
Commit: d974036da7fa0829c1627c853668eb84823d8195
https://github.com/hibernate/hibernate-search/commit/d974036da7fa0829c162...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/util/impl/SloppyMath.java
Log Message:
-----------
HSEARCH-3721 Remove the deprecated (and unused) haversinKilometers method in SloppyMath
Commit: 16e6c642b8b8a539e00bd8778a74e5de8264970b
https://github.com/hibernate/hibernate-search/commit/16e6c642b8b8a539e00b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/MultiFieldPredicateFieldBoostStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/PhrasePredicateOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/PredicateBoostStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/PredicateScoreStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SimpleQueryStringPredicateOptionsStep.java
Log Message:
-----------
HSEARCH-3721 Remove deprecated option methods in the predicate DSL
Commit: 8669c78febaa5b15faeb31e02fc42b9056ea79fd
https://github.com/hibernate/hibernate-search/commit/8669c78febaa5b15faeb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
R engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RangePredicateFromToStep.java
R engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RangePredicateLastLimitExcludeStep.java
R engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RangePredicateLimitExcludeStep.java
R engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RangePredicateLimitsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RangePredicateMatchingStep.java
R engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RangePredicateToStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/RangePredicateFieldMoreStepImpl.java
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RangeSearchPredicateLegacySyntaxIT.java
Log Message:
-----------
HSEARCH-3721 Remove the legacy syntax for range predicate definition
Commit: d8b5c37640aaeedd92a60b1f25c7be794fd06924
https://github.com/hibernate/hibernate-search/commit/d8b5c37640aaeedd92a6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/query/ExtendedSearchFetchable.java
M engine/src/main/java/org/hibernate/search/engine/search/query/SearchFetchable.java
Log Message:
-----------
HSEARCH-3721 Remove deprecated fetch() methods in SearchFetchable
Commit: e767c828b0d2ff2655a5f0db244203ca6738076c
https://github.com/hibernate/hibernate-search/commit/e767c828b0d2ff2655a5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/FieldSortMissingValueBehaviorStep.java
M engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/FieldSortOptionsStep.java
Log Message:
-----------
HSEARCH-3721 Remove deprecated option methods in the sort DSL
Commit: b27a5aab2c2ade4669ff06d832301f16a079f9bf
https://github.com/hibernate/hibernate-search/commit/b27a5aab2c2ade4669ff...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/Search.java
Log Message:
-----------
HSEARCH-3721 Remove the deprecated Search.getSearchSession() methods
Commit: 8d7ffeb562267199f7213b60a864966dfdbda511
https://github.com/hibernate/hibernate-search/commit/8d7ffeb562267199f721...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/SearchSession.java
Log Message:
-----------
HSEARCH-3721 Remove the deprecated SearchSession.createIndexer method
Compare: https://github.com/hibernate/hibernate-search/compare/a5ddfcf8eba9...8d7f...
5 years, 2 months
[hibernate/hibernate-search] 66d55d: HSEARCH-3726 Correctly propagate exceptions from E...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 66d55dbed97646d70704d2821ebd7764daba157a
https://github.com/hibernate/hibernate-search/commit/66d55dbed97646d70704...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 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/ElasticsearchParallelWorkProcessor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchSerialWorkProcessor.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkSequenceBuilderTest.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
Log Message:
-----------
HSEARCH-3726 Correctly propagate exceptions from ES indexing plans to the backend
Commit: a5ddfcf8eba976674d76d44abca1f5acdb2d764f
https://github.com/hibernate/hibernate-search/commit/a5ddfcf8eba976674d76...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexIndexingPlanIT.java
Log Message:
-----------
HSEARCH-3726 Test that backend indexing plans propagate exceptions to the backend
Compare: https://github.com/hibernate/hibernate-search/compare/6458cf3be75d...a5dd...
5 years, 2 months