[hibernate/hibernate-search] 541487: HSEARCH-4656 Merge PojoIndexedTypeManagerContainer...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 54148772248532a43bf83009038ae90be3da08c5
https://github.com/hibernate/hibernate-search/commit/54148772248532a43bf8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
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
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoContainedTypeManagerContainer.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManagerContainer.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoMappingDelegateImpl.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoTypeManagerContainer.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingIndexedTypeGroup.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingTypeContextProvider.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeDelegateImpl.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeIndexedTypeContextProvider.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeTypeContextProvider.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexerImpl.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
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkContainedTypeContextProvider.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkIndexedTypeContextProvider.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkTypeContextProvider.java
Log Message:
-----------
HSEARCH-4656 Merge PojoIndexedTypeManagerContainer with PojoContainedTypeManagerContainer
Commit: bd993c30f6e5998f5c0d9ac57699711f68d4a74e
https://github.com/hibernate/hibernate-search/commit/bd993c30f6e5998f5c0d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/SearchMappingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/session/SearchIndexingPlanBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/SearchMappingIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBridgeRuntimePolymorphismHackIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/TypeBridgeRuntimePolymorphismHackIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/search/SearchQueryBaseIT.java
M mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/step/impl/EntityWriter.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateOrmListenerTypeContextProvider.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/logging/impl/Log.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/HibernateOrmMapping.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/model/impl/HibernateOrmRawTypeIdentifierResolver.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmRuntimeIntrospector.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmRuntimeIntrospectorTypeContextProvider.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/HibernateOrmSessionTypeContextProvider.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/spi/BatchTypeIdentifierProvider.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/impl/SearchIndexingPlanImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/impl/SearchIndexingPlanTypeContextProvider.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/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/PojoTypeManagerContainer.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingIndexedTypeGroup.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingTypeContextProvider.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PojoTypeContext.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeTypeContextProvider.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexerImpl.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/PojoWorkTypeContext.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkTypeContextProvider.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/loading/impl/LoadingTypeContextProvider.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/loading/impl/StandalonePojoLoadingTypeGroup.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/log/impl/Log.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/mapping/impl/StandalonePojoMapping.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/mapping/impl/StandalonePojoTypeContextContainer.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/session/impl/StandalonePojoSearchSession.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/session/impl/StandalonePojoSearchSessionTypeContextProvider.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/work/impl/SearchIndexingPlanImpl.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/work/impl/SearchIndexingPlanTypeContextProvider.java
A util/common/src/main/java/org/hibernate/search/util/common/data/spi/KeyValueProvider.java
M util/common/src/main/java/org/hibernate/search/util/common/logging/impl/CommaSeparatedClassesFormatter.java
Log Message:
-----------
HSEARCH-4656 Provide more guidance in error messages when retrieving entity type contexts
Commit: 901fc073c55562467286236b408776e772c923cb
https://github.com/hibernate/hibernate-search/commit/901fc073c55562467286...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
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/search/SearchQueryBaseIT.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/BuildQueryBuilderTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/QueryUnindexedEntityTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/validation/QueryValidationTest.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/impl/PojoTypeManagerContainer.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeDelegateImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeTypeContextProvider.java
Log Message:
-----------
HSEARCH-4656 Provide more guidance in error messages when creating search scopes
Commit: 4ce67eda60a61317d603476b26921985cb292636
https://github.com/hibernate/hibernate-search/commit/4ce67eda60a61317d603...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/SearchMappingIT.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/mapping/SearchMapping.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/mapping/impl/StandalonePojoMapping.java
Log Message:
-----------
HSEARCH-4656 Retrieval of backend/indexmanager by name in standalone POJO mapper
Commit: 4927ee5de5e227d016f10bc40c1d2bcb199642c9
https://github.com/hibernate/hibernate-search/commit/4927ee5de5e227d016f1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationImpl.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/SearchMappingIT.java
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/SearchMappingNoDefaultBackendIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/SearchMappingIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/SearchMappingNoDefaultBackendIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMockSetupStrategy.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelper.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/ReusableOrmSetupHolder.java
Log Message:
-----------
HSEARCH-4656 Provide more guidance in error messages when retrieving backends or index managers
Commit: d74dff44d920cbed20d0466f07a28090361b6fd3
https://github.com/hibernate/hibernate-search/commit/d74dff44d920cbed20d0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java
Log Message:
-----------
HSEARCH-4656 Test the error message on invalid type name passed to programmatic mapping
Commit: 2324393e9956f83ae2d09f8dc53f2d96081a3f87
https://github.com/hibernate/hibernate-search/commit/2324393e9956f83ae2d0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
M jqassistant/rules.xml
Log Message:
-----------
HSEARCH-4656 Improve output of JQAssistant rule "API/SPI types must not expose internal types"
Commit: a4ec189f63b93d8b15459ff53064a4c0ed8edb97
https://github.com/hibernate/hibernate-search/commit/a4ec189f63b93d8b1545...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexValueField.java
Log Message:
-----------
HSEARCH-4500 Fix formatting
Commit: d07ed3db5c7e5679f1f71b584db0281060278766
https://github.com/hibernate/hibernate-search/commit/d07ed3db5c7e5679f1f7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/spi/AbstractIndexModel.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/FieldTemplateIT.java
Log Message:
-----------
HSEARCH-4500 Provide more context in error messages about parent fields with invalid type (value vs. object)
Compare: https://github.com/hibernate/hibernate-search/compare/49bdd5dddd76...d07e...
2 years, 4 months