[hibernate/hibernate-search] 8b6b64: HSEARCH-3855 Add a multiline, YAML-like, indent-ba...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 8b6b6431b19b866d84073bc6c55107be569fa828
https://github.com/hibernate/hibernate-search/commit/8b6b6431b19b866d8407...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M util/common/src/main/java/org/hibernate/search/util/common/impl/ToStringStyle.java
M util/common/src/test/java/org/hibernate/search/util/common/impl/ToStringTreeBuilderTest.java
Log Message:
-----------
HSEARCH-3855 Add a multiline, YAML-like, indent-based ToStringTree style with hardcoded parameters
Commit: a6212daad3d2e3d6405278fb60dc9d99d4b9b9f8
https://github.com/hibernate/hibernate-search/commit/a6212daad3d2e3d64052...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M util/common/src/main/java/org/hibernate/search/util/common/logging/impl/ToStringTreeAppendableMultilineFormatter.java
Log Message:
-----------
HSEARCH-3855 Switch to YAML-like formatting when logging indexing processors and reindexing resolvers
I.e. this:
09:11:47,299 (main) DEBUG PojoIndexedTypeManagerBuilder:143 - HSEARCH700017: Created POJO indexed type manager: {
typeIdentifier=org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity
indexManager=org.hibernate.search.engine.mapper.mapping.impl.MappedIndexManagerImpl@4912d525
identifierMapping=org.hibernate.search.mapper.pojo.bridge.runtime.impl.PropertyIdentifierMapping@2bfbffb2
routingKeyProvider=org.hibernate.search.mapper.pojo.bridge.runtime.impl.RoutingKeyProvider$$Lambda$208/832066800@765df79d
processor={
class=PojoIndexingProcessorTypeNode
parentIndexObjectReferences=[]
bridges=[
]
propertyNodes=[
{
class=PojoIndexingProcessorPropertyNode
handle=MethodHandleValueReadHandle[private java.util.List org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.indexedElementCollectionField]
bridges=[
]
nestedNodes=[
{
class=PojoIndexingProcessorContainerElementNode
extractor=org.hibernate.search.mapper.pojo.extractor.builtin.impl.CollectionElementExtractor@151335cb
nestedNodes=[
{
class=PojoIndexingProcessorValueBridgeNode
bridge=org.hibernate.search.engine.environment.bean.SimpleBeanHolder@4a7761b1
indexFieldReference=StubIndexFieldReference[indexedElementCollectionField]
}
]
}
]
}
{
class=PojoIndexingProcessorPropertyNode
handle=MethodHandleValueReadHandle[private java.lang.String org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.indexedField]
bridges=[
]
nestedNodes=[
{
class=PojoIndexingProcessorValueBridgeNode
bridge=org.hibernate.search.engine.environment.bean.SimpleBeanHolder@3e850122
indexFieldReference=StubIndexFieldReference[indexedField]
}
]
}
{
class=PojoIndexingProcessorPropertyNode
handle=MethodHandleValueReadHandle[private java.util.List org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.noReindexOnUpdateElementCollectionField]
bridges=[
]
nestedNodes=[
{
class=PojoIndexingProcessorContainerElementNode
extractor=org.hibernate.search.mapper.pojo.extractor.builtin.impl.CollectionElementExtractor@27fde870
nestedNodes=[
{
class=PojoIndexingProcessorValueBridgeNode
bridge=org.hibernate.search.engine.environment.bean.SimpleBeanHolder@2b4c3c29
indexFieldReference=StubIndexFieldReference[noReindexOnUpdateElementCollectionField]
}
]
}
]
}
{
class=PojoIndexingProcessorPropertyNode
handle=MethodHandleValueReadHandle[private java.lang.String org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.noReindexOnUpdateField]
bridges=[
]
nestedNodes=[
{
class=PojoIndexingProcessorValueBridgeNode
bridge=org.hibernate.search.engine.environment.bean.SimpleBeanHolder@5ac7aa18
indexFieldReference=StubIndexFieldReference[noReindexOnUpdateField]
}
]
}
]
}
reindexingResolver={
class=DefaultPojoImplicitReindexingResolver
dirtyPathsTriggeringSelfReindexing=StringSetPojoPathFilter[[indexedElementCollectionField, org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.indexedElementCollectionField, indexedField]]
containingEntitiesResolverRoot={
class=NoOpPojoImplicitReindexingResolverNode
}
}
}
Becomes this:
09:07:37,830 (main) DEBUG PojoIndexedTypeManagerBuilder:143 - HSEARCH700017: Created POJO indexed type manager:
typeIdentifier: org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity
indexManager: org.hibernate.search.engine.mapper.mapping.impl.MappedIndexManagerImpl@4912d525
identifierMapping: org.hibernate.search.mapper.pojo.bridge.runtime.impl.PropertyIdentifierMapping@2bfbffb2
routingKeyProvider: org.hibernate.search.mapper.pojo.bridge.runtime.impl.RoutingKeyProvider$$Lambda$208/832066800@765df79d
processor:
class: PojoIndexingProcessorTypeNode
parentIndexObjectReferences: []
bridges:
propertyNodes:
* class: PojoIndexingProcessorPropertyNode
handle: MethodHandleValueReadHandle[private java.util.List org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.indexedElementCollectionField]
bridges:
nestedNodes:
* class: PojoIndexingProcessorContainerElementNode
extractor: org.hibernate.search.mapper.pojo.extractor.builtin.impl.CollectionElementExtractor@151335cb
nestedNodes:
* class: PojoIndexingProcessorValueBridgeNode
bridge: org.hibernate.search.engine.environment.bean.SimpleBeanHolder@4a7761b1
indexFieldReference: StubIndexFieldReference[indexedElementCollectionField]
* class: PojoIndexingProcessorPropertyNode
handle: MethodHandleValueReadHandle[private java.lang.String org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.indexedField]
bridges:
nestedNodes:
* class: PojoIndexingProcessorValueBridgeNode
bridge: org.hibernate.search.engine.environment.bean.SimpleBeanHolder@3e850122
indexFieldReference: StubIndexFieldReference[indexedField]
* class: PojoIndexingProcessorPropertyNode
handle: MethodHandleValueReadHandle[private java.util.List org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.noReindexOnUpdateElementCollectionField]
bridges:
nestedNodes:
* class: PojoIndexingProcessorContainerElementNode
extractor: org.hibernate.search.mapper.pojo.extractor.builtin.impl.CollectionElementExtractor@27fde870
nestedNodes:
* class: PojoIndexingProcessorValueBridgeNode
bridge: org.hibernate.search.engine.environment.bean.SimpleBeanHolder@2b4c3c29
indexFieldReference: StubIndexFieldReference[noReindexOnUpdateElementCollectionField]
* class: PojoIndexingProcessorPropertyNode
handle: MethodHandleValueReadHandle[private java.lang.String org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.noReindexOnUpdateField]
bridges:
nestedNodes:
* class: PojoIndexingProcessorValueBridgeNode
bridge: org.hibernate.search.engine.environment.bean.SimpleBeanHolder@5ac7aa18
indexFieldReference: StubIndexFieldReference[noReindexOnUpdateField]
reindexingResolver:
class: DefaultPojoImplicitReindexingResolver
dirtyPathsTriggeringSelfReindexing: StringSetPojoPathFilter[[indexedElementCollectionField, org.hibernate.search.integrationtest.mapper.orm.automaticindexing.AutomaticIndexingBasicIT$IndexedEntity.indexedElementCollectionField, indexedField]]
containingEntitiesResolverRoot:
class: NoOpPojoImplicitReindexingResolverNode
Commit: 3e1e77b833a873706e3440acd91651a457be1f61
https://github.com/hibernate/hibernate-search/commit/3e1e77b833a873706e34...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexFieldReference.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexObjectFieldReference.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexFieldReference.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexObjectFieldReference.java
M engine/src/main/java/org/hibernate/search/engine/environment/bean/CompositeBeanHolder.java
M engine/src/main/java/org/hibernate/search/engine/environment/bean/DependencyClosingBeanHolder.java
M engine/src/main/java/org/hibernate/search/engine/environment/bean/SimpleBeanHolder.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/impl/MappedIndexManagerImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmContainedBeanBeanHolderAdapter.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/AlwaysNullRoutingKeyProvider.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/PropertyIdentifierMapping.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/ProvidedIdentifierMapping.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/RoutingKeyBridgeRoutingKeyProvider.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/RoutingKeyProvider.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/ArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/CollectionElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/IterableElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/MapKeyExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/MapValueExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/OptionalDoubleValueExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/OptionalIntValueExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/OptionalLongValueExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/OptionalValueExtractor.java
Log Message:
-----------
HSEARCH-3855 Add a few missing toString() implementations
Spotted while looking at logged indexing processors
Commit: e66059c34fe543c207d92ccb0b49d2296e54c432
https://github.com/hibernate/hibernate-search/commit/e66059c34fe543c207d9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/DefaultPojoImplicitReindexingResolver.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/NoOpPojoImplicitReindexingResolver.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/NoOpPojoImplicitReindexingResolverNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverCastedTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverContainerElementNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverDirtinessFilterNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverMarkingNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverOriginalTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverPropertyNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/NoOpPojoIndexingProcessor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorContainerElementNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorPropertyNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorValueBridgeNode.java
Log Message:
-----------
HSEARCH-3855 Rename a few attributes in indexing processors and reindexing resolvers
To make them clearer when rendered as strings.
Commit: 87dd99fdb38128f752e12237f353dd9bbd5af8f4
https://github.com/hibernate/hibernate-search/commit/87dd99fdb38128f752e1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/AbstractPojoProcessorNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorContainerElementNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorPropertyNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorTypeNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorContainerElementNode.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorMultiNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorPropertyNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorTypeNode.java
Log Message:
-----------
HSEARCH-3855 Use a dedicated node type to represent sequences of nodes in indexing processors
Commit: f102783e46b9ebbca902d22649a29391200537cf
https://github.com/hibernate/hibernate-search/commit/f102783e46b9ebbca902...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverBuildingHelper.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/DefaultPojoImplicitReindexingResolver.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/NoOpPojoImplicitReindexingResolver.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolver.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverImpl.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
Log Message:
-----------
HSEARCH-3855 Remove the unnecessary NoOpPojoImplicitReindexingResolver
It can simply be implemented with the usual
PojoImplicitReindexingResolver and no-op components.
Commit: 4ab5e375f3161cb4119edbc0f361cb9e64ff0718
https://github.com/hibernate/hibernate-search/commit/4ab5e375f3161cb4119e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/AbstractPojoImplicitReindexingResolverNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/AbstractPojoImplicitReindexingResolverTypeNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverCastedTypeNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverContainerElementNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverOriginalTypeNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverPropertyNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverCastedTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverContainerElementNode.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverMultiNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverOriginalTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverPropertyNode.java
Log Message:
-----------
HSEARCH-3855 Use a dedicated node type to represent sequences of nodes in reindexing resolvers
Compare: https://github.com/hibernate/hibernate-search/compare/6fa684d4cab2...4ab5...
4 years, 6 months
[hibernate/hibernate-search] 039a84: HSEARCH-3628 Fetch graphs and load graphs in searc...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 039a84746c6e20e62c365f7a6edd27995febef6e
https://github.com/hibernate/hibernate-search/commit/039a84746c6e20e62c36...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/context/impl/HibernateOrmLoadingContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/dsl/SearchLoadingOptionsStep.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityGraphHint.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/MutableEntityLoadingOptions.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
Log Message:
-----------
HSEARCH-3628 Fetch graphs and load graphs in search queries
Commit: fc98b6a55c171d90c53c81d14baac1d5e63b2116
https://github.com/hibernate/hibernate-search/commit/fc98b6a55c171d90c53c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
A util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/ManagedAssert.java
Log Message:
-----------
HSEARCH-3628 Introduce ManagedAssert to check intialized properties of entities
Commit: 5ad4421e6414670b79169b3518a0ad206bd5588a
https://github.com/hibernate/hibernate-search/commit/5ad4421e6414670b7916...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/BytecodeEnhancementIT.java
Log Message:
-----------
HSEARCH-3628 Use ManagedAssert in BytecodeEnhancementIT
Commit: 71c4cb90c9c9088f7ee0ddb686a2330e3fa73b42
https://github.com/hibernate/hibernate-search/commit/71c4cb90c9c9088f7ee0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
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/search/loading/AbstractSearchQueryEntityLoadingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/AbstractSearchQueryEntityLoadingSingleTypeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingCacheLookupIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingFetchSizeIT.java
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingGraphIT.java
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/model/singletype/EntityIdDocumentIdContainedEntity.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/model/singletype/EntityIdDocumentIdIndexedEntity.java
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/model/singletype/NonEntityIdDocumentIdContainedEntity.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/model/singletype/NonEntityIdDocumentIdIndexedEntity.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
Log Message:
-----------
HSEARCH-3628 Test entity graphs in search queries
Commit: 6fa684d4cab2e5442c3721aba947c8b2f32a468c
https://github.com/hibernate/hibernate-search/commit/6fa684d4cab2e5442c37...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M documentation/src/main/asciidoc/search-dsl-query.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/search/query/Manager.java
M documentation/src/test/java/org/hibernate/search/documentation/search/query/QueryDslIT.java
Log Message:
-----------
HSEARCH-3628 Document fetch graphs and load graphs in search queries
Compare: https://github.com/hibernate/hibernate-search/compare/f37290a25625...6fa6...
4 years, 6 months
[hibernate/hibernate-search] 9bc1fe: HSEARCH-3925 Rename and document Hibernate ORM ent...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 9bc1feadec57270b4325795a646416be8fbb3361
https://github.com/hibernate/hibernate-search/commit/9bc1feadec57270b4325...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmIndexedTypeContext.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByIdEntityLoader.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmCriteriaEntityLoader.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
Log Message:
-----------
HSEARCH-3925 Rename and document Hibernate ORM entity loaders
To clarify that the main difference between the two implementations is
the nature of the document ID.
Commit: f4fb0c455c50b713f8b36b6f25757f01f9396a8d
https://github.com/hibernate/hibernate-search/commit/f4fb0c455c50b713f8b3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
Log Message:
-----------
HSEARCH-3925 Move a few metamodel-related methods out of HibernateOrmEntityIdEntityLoader
Just to make the class simpler, as we're going to change it.
Commit: 328a1ab07b1c797a087bdfc53e9a7d72ad98c4b5
https://github.com/hibernate/hibernate-search/commit/328a1ab07b1c797a087b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
Log Message:
-----------
HSEARCH-3925 Clarify that we're dealing with an entityPersister, not a type descriptor, in HibernateOrmEntityIdEntityLoader
Commit: a1eee31a248800ab5bbcb1f2e0d89f1a750d7e03
https://github.com/hibernate/hibernate-search/commit/a1eee31a248800ab5bbc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/PersistenceContextLookupStrategy.java
Log Message:
-----------
HSEARCH-3925 Rely on ORM queries rather than session.multiLoad for entity loading
Commit: be1e80e5c32dacd52790ce31072de8f4587b4592
https://github.com/hibernate/hibernate-search/commit/be1e80e5c32dacd52790...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoadingCacheLookupStrategyImplementor.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/PersistenceContextLookupStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/PersistenceContextThenSecondLevelCacheLookupStrategy.java
Log Message:
-----------
HSEARCH-3925 Remove a few EntityKey and List instantiations in HibernateOrmEntityIdEntityLoader
This is just an optimization.
Commit: 64b0137d4bc206346528dc51a58b304a037bcca8
https://github.com/hibernate/hibernate-search/commit/64b0137d4bc206346528...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
Log Message:
-----------
HSEARCH-3925 Use the criteria API for entity loading where possible
We only have to fall back to HQL for dynamic-map entities.
Commit: cc54e43377bd2268c21a2a21c1d56ad395bdf4fa
https://github.com/hibernate/hibernate-search/commit/cc54e43377bd2268c21a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.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/search/loading/impl/HibernateOrmLoadingIndexedTypeContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
Log Message:
-----------
HSEARCH-3772 Use an HQL query or a Criteria query as necessary in HibernateOrmNonEntityIdPropertyEntityLoader
So that the loader supports dynamic-map entities, too.
Commit: f37290a256255322baeb2b531d734ddf044df970
https://github.com/hibernate/hibernate-search/commit/f37290a256255322baeb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
Log Message:
-----------
HSEARCH-3925 Simplify HibernateOrmUtils.toRootEntityType
Compare: https://github.com/hibernate/hibernate-search/compare/8f636e1c772d...f372...
4 years, 6 months