Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: e97e0a4808596bc8df2fc9449f24732e515779c3
https://github.com/hibernate/hibernate-search/commit/e97e0a4808596bc8df2f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/DocumentMetadataContributor.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchDocumentObjectBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendImpl.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerBuilder.java
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/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/MultiTenancyStrategy.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/NoMultiTenancyStrategy.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/WorkExecutionIndexManagerContext.java
Log Message:
-----------
HSEARCH-3765 Add abstraction for contribution of metadata fields to Elasticsearch
documents
The same abstraction will be used by typing strategies (see next
commits).
Commit: b0ced79ba77c4c4c8404cdebf0fd797a693485e1
https://github.com/hibernate/hibernate-search/commit/b0ced79ba77c4c4c8404...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
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/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/MultiTenancyStrategy.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/NoMultiTenancyStrategy.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/DocumentReferenceExtractionHelper.java
R
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/DocumentReferenceExtractorHelper.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDocumentReferenceProjection.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDocumentReferenceProjectionBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchEntityProjection.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchEntityProjectionBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchEntityReferenceProjection.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchEntityReferenceProjectionBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionExtractionHelper.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/SearchProjectionBackendContext.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilderFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchBackendContext.java
Log Message:
-----------
HSEARCH-3765 Add abstraction for extraction of IDs from Elasticearch documents
The same abstraction will be used by typing strategies (see next
commits).
Commit: b1500aeefef3d52f592af1b183461525ce3decc1
https://github.com/hibernate/hibernate-search/commit/b1500aeefef3d52f592a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaRootNodeBuilder.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/IndexSchemaRootContributor.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendImpl.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/MultiTenancyStrategy.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/NoMultiTenancyStrategy.java
Log Message:
-----------
HSEARCH-3765 Add abstraction for contribution of metadata fields to the Elasticsearch
index schema root
The same abstraction will be used by typing strategies (see next
commits).
Commit: 4d52b1f144ee27f0900bd140bcef4ccf6485f8d6
https://github.com/hibernate/hibernate-search/commit/4d52b1f144ee27f0900b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaRootNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendImpl.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaRootNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendImpl.java
M
engine/src/main/java/org/hibernate/search/engine/backend/spi/BackendImplementor.java
M
engine/src/main/java/org/hibernate/search/engine/common/impl/IndexManagerBuildingStateHolder.java
M
engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexManagerFactoryImpl.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/spi/MappedIndexManagerFactory.java
M
engine/src/test/java/org/hibernate/search/engine/common/impl/IndexManagerBuildingStateHolderTest.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/StubIndexSchemaNode.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaRootNodeBuilder.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubBackend.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexManagerBuilder.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapper.java
Log Message:
-----------
HSEARCH-3765 Propagate the mapped type name to index managers
To enable the next changes (using type names instead of index names to
communicate the type of search hits).
Commit: fbbe5283b7ca5d4a0a4a587a6204431ca1ff4a2f
https://github.com/hibernate/hibernate-search/commit/fbbe5283b7ca5d4a0a4a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendImpl.java
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/search/impl/ElasticsearchDocumentReference.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/DocumentReferenceExtractionHelper.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/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/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
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendImpl.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/ShardHolder.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/IndexNameQuery.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/MappedTypeNameQuery.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/reader/impl/DirectoryReaderCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/reader/impl/HolderMultiReader.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/reader/impl/IndexReaderMetadataResolver.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/DocumentReferenceCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/impl/LuceneDocumentReference.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneExplainWork.java
M
engine/src/main/java/org/hibernate/search/engine/backend/common/DocumentReference.java
M
integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/lowlevel/directory/AbstractDirectoryIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/rule/SearchSetupHelper.java
M
integrationtest/mapper/orm-envers/src/test/java/org/hibernate/search/integrationtest/mapper/orm/envers/EnversIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToHibernateOrmIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToJpaIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/AnnotationMappingSmokeIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/ProgrammaticMappingSmokeIT.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/mapping/definition/FieldDefaultBridgeIT.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/testsupport/types/BigDecimalPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/BigIntegerPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/BoxedBooleanPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/BoxedBytePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/BoxedCharacterPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/BoxedDoublePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/BoxedFloatPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/BoxedIntegerPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/BoxedLongPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/BoxedShortPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/DurationPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/EnumPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/GeoPointPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/InstantPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaNetURIPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaNetURLPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaSqlDatePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaSqlTimePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaSqlTimestampPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaUtilCalendarPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaUtilDatePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/LocalDatePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/LocalDateTimePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/LocalTimePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/MonthDayPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/OffsetDateTimePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/OffsetTimePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/PeriodPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/PrimitiveBooleanPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/PrimitiveBytePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/PrimitiveCharacterPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/PrimitiveDoublePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/PrimitiveFloatPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/PrimitiveIntegerPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/PrimitiveLongPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/PrimitiveShortPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/StringPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/UUIDPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/YearMonthPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/YearPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/ZoneIdPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/ZoneOffsetPropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/ZonedDateTimePropertyTypeDescriptor.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/expectations/DefaultIdentifierBridgeExpectations.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/expectations/DefaultValueBridgeExpectations.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/util/rule/JavaBeanMappingSetupHelper.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/JavaBeanSearchSessionTypeContextProvider.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/HibernateOrmSessionTypeContextProvider.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/NormalizationUtils.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/document/model/StubIndexSchemaNode.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaRootNodeBuilder.java
Log Message:
-----------
HSEARCH-3765 Use mapper-provided type names instead of index names to represent the type
of indexed documents
Commit: ce2453f4665926db568fa26a406250cd3800a61c
https://github.com/hibernate/hibernate-search/commit/ce2453f4665926db568f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendImpl.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/logging/impl/Log.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/impl/IndexNameTypeNameMapping.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/impl/TypeNameMapping.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/DocumentReferenceExtractionHelper.java
Log Message:
-----------
HSEARCH-3765 Add abstraction for type name mapping in Elasticsearch
Commit: c3371d6343ae902cd512cbdb093e2750c5f8b6a3
https://github.com/hibernate/hibernate-search/commit/c3371d6343ae902cd512...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/cfg/ElasticsearchBackendSettings.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/TypeNameMappingStrategyName.java
Log Message:
-----------
HSEARCH-3765 Add a configuration option for type name mapping in Elasticsearch
Commit: 9a4556ae8eacd345dced35986815e2ddfe326a85
https://github.com/hibernate/hibernate-search/commit/9a4556ae8eacd345dced...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendImpl.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/TypeNameMappingStrategyName.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/impl/DiscriminatorTypeNameMapping.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/impl/IndexNameTypeNameMapping.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/impl/TypeNameMapping.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/util/impl/ElasticsearchFields.java
Log Message:
-----------
HSEARCH-3765 Add a discriminator-based type name mapping strategy for Elasticsearch
Commit: 9ae9f71a9ba8113c45b20113532e5197f39c3e07
https://github.com/hibernate/hibernate-search/commit/9ae9f71a9ba8113c45b2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
A
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/mapping/ElasticsearchTypeNameMappingBaseIT.java
A
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/mapping/ElasticsearchTypeNameMappingSchemaIT.java
A
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/mapping/ElasticsearchTypeNameMappingTestUtils.java
M
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/rule/TestElasticsearchClient.java
Log Message:
-----------
HSEARCH-3765 Test Elasticsearch type-name mapping strategies
Commit: 616f086a34a4289e4058ab3b4f5867dde7a048f7
https://github.com/hibernate/hibernate-search/commit/616f086a34a4289e4058...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/mapping/ElasticsearchTypeNameMappingBaseIT.java
Log Message:
-----------
HSEARCH-3765 Test Elasticsearch type-name mapping strategies when using aliases
Commit: 67ea40e445767eb3431b2c1bffc43ecb4594ecc7
https://github.com/hibernate/hibernate-search/commit/67ea40e445767eb3431b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/management/ElasticsearchAnalyzerDefinitionValidationIT.java
A
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/management/ElasticsearchManagementTestUtils.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/management/ElasticsearchNormalizerDefinitionValidationIT.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/management/ElasticsearchSchemaAttributeValidationIT.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/management/ElasticsearchSchemaCreationIT.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/management/ElasticsearchSchemaMigrationIT.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/management/ElasticsearchSchemaValidationIT.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/mapping/ElasticsearchTypeNameMappingTestUtils.java
Log Message:
-----------
HSEARCH-3765 Ready the Elasticsearch tests for changes in the default metadata in the
schema
Commit: ad3e343233141b11a632f45bd03da8c6ceadf0dc
https://github.com/hibernate/hibernate-search/commit/ad3e343233141b11a632...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/cfg/ElasticsearchBackendSettings.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/management/ElasticsearchManagementTestUtils.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/mapping/ElasticsearchTypeNameMappingBaseIT.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/mapping/ElasticsearchTypeNameMappingSchemaIT.java
Log Message:
-----------
HSEARCH-3765 Set the default type-name mapping strategy to "discriminator"
Because that's the only strategy which will work in every situation. The
other strategy can still be selected as an optimization if necessary.
Commit: 89b4881b548184864bf0ff06201543bae41726b3
https://github.com/hibernate/hibernate-search/commit/89b4881b548184864bf0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M documentation/src/main/asciidoc/backend-elasticsearch.asciidoc
M documentation/src/main/asciidoc/backend-lucene.asciidoc
Log Message:
-----------
HSEARCH-3765 Restructure backend configuration to regroup schema-related sections
Commit: e9a28903132ed324e913118a660ccd05ca57e1b3
https://github.com/hibernate/hibernate-search/commit/e9a28903132ed324e913...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M documentation/src/main/asciidoc/backend-elasticsearch.asciidoc
Log Message:
-----------
HSEARCH-3765 Document Elasticsearch type name mapping strategies
Commit: 5805e91fe80ccfdf9a97040fbb41593a0c795e2a
https://github.com/hibernate/hibernate-search/commit/5805e91fe80ccfdf9a97...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M documentation/src/main/asciidoc/backend-elasticsearch.asciidoc
M documentation/src/main/asciidoc/backend-lucene.asciidoc
Log Message:
-----------
HSEARCH-3765 Improve the multi-tenancy documentation
1. Use a structure similar to other sections
2. Mention the field names in the Elasticsearch documentation
Compare:
https://github.com/hibernate/hibernate-search/compare/2d7f4f24782b...5805...