[hibernate/hibernate-orm] f47444: HHH-15132 - Improvements for NavigablePath
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: f474449e7d949ea0d43cf911cf1b092975125199
https://github.com/hibernate/hibernate-orm/commit/f474449e7d949ea0d43cf91...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/FunctionExpression.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SqmPathRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderEntity.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPluralValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmAliasedNodeRef.java
M hibernate-core/src/main/java/org/hibernate/spi/NavigablePath.java
M hibernate-core/src/main/java/org/hibernate/spi/TreatedNavigablePath.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableFetchImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityResultImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchInitializer.java
A hibernate-core/src/test/java/org/hibernate/orm/test/spi/path/NavigablePathTests.java
Log Message:
-----------
HHH-15132 - Improvements for NavigablePath
Begin breaking down "full path"
Commit: e496ec45ea3df4c0b7a96e13edbf11f00ccb7348
https://github.com/hibernate/hibernate-orm/commit/e496ec45ea3df4c0b7a96e1...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/query/HbmResultSetMappingDescriptor.java
M hibernate-core/src/main/java/org/hibernate/boot/query/SqlResultSetMappingDescriptor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/QualifiedJoinPredicatePathConsumer.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SqmPathRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/UnknownPathException.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmTreePrinter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/BasicValuedPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/EmbeddableValuedPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmFrom.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPluralPartJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmSingularJoin.java
M hibernate-core/src/main/java/org/hibernate/spi/DotIdentifierSequence.java
M hibernate-core/src/main/java/org/hibernate/spi/EntityIdentifierNavigablePath.java
M hibernate-core/src/main/java/org/hibernate/spi/NavigablePath.java
M hibernate-core/src/main/java/org/hibernate/spi/TreatedNavigablePath.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/AbstractColumnReferenceQualifier.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/DerivedTableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/LazyTableGroup.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/MappedByTableGroup.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/NamedTableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/UnionTableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityResultInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/ResultsHelper.java
Log Message:
-----------
HHH-15132 - Improvements for NavigablePath
- dropped `NavigablePath#fullPath` field - `#getFullPath` is now "(re)built" on demand
- adjust uses of `NavigablePath#getFullPath`
- refactor `NavigablePath` constructors
Commit: 8470d6db5bb104cb1badc46a2852e06b80369c45
https://github.com/hibernate/hibernate-orm/commit/8470d6db5bb104cb1badc46...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/spi/NavigablePath.java
Log Message:
-----------
HHH-15132 - Improvements for NavigablePath
- additional refactoring of uses of `NavigablePath#getFullPath`
Compare: https://github.com/hibernate/hibernate-orm/compare/73153be99d82...8470d6d...
2 years, 8 months
[hibernate/hibernate-search] cefc6d: HSEARCH-3943 API for object projections
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: cefc6db234d3e3fa0d9968347db0b204e8501b44
https://github.com/hibernate/hibernate-search/commit/cefc6db234d3e3fa0d99...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/CompositeProjectionAsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/CompositeProjectionFrom1AsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/CompositeProjectionFrom2AsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/CompositeProjectionFrom3AsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/CompositeProjectionValueStep.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/SearchProjectionFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/AbstractCompositeProjectionAsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionFrom1AsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionFrom2AsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionFrom3AsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionOptionsStepImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionValueStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/spi/AbstractSearchProjectionFactory.java
Log Message:
-----------
HSEARCH-3943 API for object projections
Commit: 0d8cb70439dbf027d11001c1bcd4e4b6ec044810
https://github.com/hibernate/hibernate-search/commit/0d8cb70439dbf027d110...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/dsl/impl/ElasticsearchSearchQuerySelectStepImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/dsl/impl/LuceneSearchQuerySelectStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/AbstractCompositeProjectionAsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionFrom1AsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionFrom2AsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionFrom3AsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionFromAnyNumberAsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionFromStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionValueStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/spi/AbstractSearchProjectionFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/CompositeProjectionBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ProjectionCompositor.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SearchProjectionBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/impl/DefaultSearchQuerySelectStep.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubSearchProjectionBuilderFactory.java
Log Message:
-----------
HSEARCH-3943 Create builders early in the composite projection DSL
This will be necessary in order to create builders for "object"
projections.
Commit: 5851bb2c52ca06e5f5a2ef81d371b96a495b3fce
https://github.com/hibernate/hibernate-search/commit/5851bb2c52ca06e5f5a2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDistanceToFieldProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ListProjectionAccumulator.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ProjectionAccumulator.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SingleValuedProjectionAccumulator.java
Log Message:
-----------
HSEARCH-3943 Allow any type of transformation in ProjectionAccumulator
Commit: d5a6e61de15b363dca4b3a82c62be6e96ab99721
https://github.com/hibernate/hibernate-search/commit/d5a6e61de15b363dca4b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/DistanceToFieldProjectionValueStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/FieldProjectionValueStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/DistanceToFieldProjectionBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/FieldProjectionBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ListProjectionAccumulator.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ProjectionAccumulator.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SingleValuedProjectionAccumulator.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubFieldProjection.java
Log Message:
-----------
HSEARCH-3943 Move ProjectionAccumulator providers to static methods in ProjectionAccumulator
Commit: 28b348ba456d8d2984257c4c83fdf96406fd9f33
https://github.com/hibernate/hibernate-search/commit/28b348ba456d8d298425...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/SearchIndexSchemaElementContextHelper.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/ObjectStructureIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/ObjectFieldTemplateIT.java
Log Message:
-----------
HSEARCH-3943 Use a more generic message for search errors on non-nested object fields
Commit: 6291a227959118727e9ff1a75c4ea7c6e92d00f7
https://github.com/hibernate/hibernate-search/commit/6291a227959118727e9f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/dsl/impl/ElasticsearchSearchQuerySelectStepImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/dsl/impl/LuceneSearchQuerySelectStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionValueStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/CompositeProjectionBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/impl/DefaultSearchQuerySelectStep.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeProjection.java
Log Message:
-----------
HSEARCH-3943 Implement multi() on composite projections (not object projections)
Commit: db0f3136e0b4dd73cbcb5806f12fabd73126d29c
https://github.com/hibernate/hibernate-search/commit/db0f3136e0b4dd73cbcb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceProjectionTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldProjectionTypeCheckingAndConversionIT.java
Log Message:
-----------
HSEARCH-3943 Adapt existing tests to the postponing of some multi-valued-ness checks in projections
Commit: dc3e330b1d92f92de364302907f3d1b57a3d640e
https://github.com/hibernate/hibernate-search/commit/dc3e330b1d92f92de364...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/CompositeProjectionFromStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/spi/AbstractSearchProjectionFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ProjectionTypeKeys.java
Log Message:
-----------
HSEARCH-3943 Implement DSL for object projections (engine only, not backends)
Commit: 537085008a26babc54b9666e62d7f06220bc9a97
https://github.com/hibernate/hibernate-search/commit/537085008a26babc54b9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
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/search/projection/impl/AbstractElasticsearchProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDistanceToFieldProjection.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/ElasticsearchEntityProjection.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/ElasticsearchExplanationProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchIdProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchJsonHitProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchScoreProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSourceProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch56SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch56SearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchBackendContext.java
Log Message:
-----------
HSEARCH-3943 Move result extraction from ElasticsearchSearchProjection to a dedicated component
This will be necessary to have extraction behave differently based on
whether a projection is wrapped in a "forEach" projection or not.
Commit: d2e399be0c7805bc22f350644d36ddd1dcd3754a
https://github.com/hibernate/hibernate-search/commit/d2e399be0c7805bc22f3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDistanceToFieldProjection.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/ElasticsearchEntityProjection.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/ElasticsearchExplanationProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchIdProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchJsonHitProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchScoreProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSourceProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
Log Message:
-----------
HSEARCH-3943 Pass the "source" directly as an argument to Elasticsearch projection extractors
Commit: c6c69b33dd60abe64edd9616cbd159cbeac395f3
https://github.com/hibernate/hibernate-search/commit/c6c69b33dd60abe64edd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/common/impl/ElasticsearchMultiIndexSearchIndexCompositeNodeContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/common/impl/ElasticsearchMultiIndexSearchIndexValueFieldContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/common/impl/ElasticsearchSearchIndexNodeContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/common/impl/LuceneMultiIndexSearchIndexValueFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/common/impl/LuceneSearchIndexNodeContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/spi/AbstractIndexField.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/spi/AbstractIndexRoot.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/spi/IndexNode.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/AbstractMultiIndexSearchIndexCompositeNodeContext.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/AbstractMultiIndexSearchIndexNodeContext.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/AbstractMultiIndexSearchIndexValueFieldContext.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/SearchIndexNodeContext.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/SearchIndexValueFieldContext.java
Log Message:
-----------
HSEARCH-3943 Expose more precise information about multi-valued parents and type in SearchIndexNodeContext
Commit: 8472630e86a31dc1e100411412b557122e52bb2b
https://github.com/hibernate/hibernate-search/commit/8472630e86a31dc1e100...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
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/scope/model/impl/ElasticsearchSearchIndexScopeImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/common/impl/ElasticsearchSearchIndexScope.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/AccumulatingSourceExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDistanceToFieldProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldProjection.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchObjectProjection.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/FieldProjectionRequestContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionRequestContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryRequestContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/impl/ElasticsearchIndexCompositeNodeType.java
M engine/src/main/java/org/hibernate/search/engine/backend/common/spi/FieldPaths.java
Log Message:
-----------
HSEARCH-3943 Implement object projections on Elasticsearch
Commit: 4ecdb925729c8fff79317c934a1b028f72742b37
https://github.com/hibernate/hibernate-search/commit/4ecdb925729c8fff7931...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexManagerBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/AbstractLuceneProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDocumentProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDocumentReferenceProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityReferenceProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneExplanationProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneIdProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneScoreProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcherImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchBackendContext.java
Log Message:
-----------
HSEARCH-3943 Move result extraction from LuceneSearchProjection to a dedicated component
This will be necessary to have extraction behave differently based on
whether a projection is wrapped in a "forEach" projection or not.
Commit: 057509644ddfd28403d110ebfb7036a3b7c9d488
https://github.com/hibernate/hibernate-search/commit/057509644ddfd28403d1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExecutionContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/DocumentReferenceCollector.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/DocumentReferenceValues.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/ExplanationValues.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/GeoPointDistanceCollector.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/IdentifierCollector.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/IdentifierValues.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/ScoreValues.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/StoredFieldsCollector.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/StoredFieldsValuesDelegate.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/TopDocsDataCollector.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/TopDocsDataCollectorExecutionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/Values.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ExtractionRequirements.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneResult.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/AbstractNestingAwareAccumulatingValues.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDocumentProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDocumentReferenceProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityReferenceProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneExplanationProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneIdProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneScoreProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ProjectionExtractContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ProjectionRequestContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
Log Message:
-----------
HSEARCH-3943 Restructure Lucene projections around the concept of (nestable) Values<T>
The fact they are nestable is most critical: it will allow projections
to follow the structure of nested objects (see following commits).
Commit: 23e478e9fc616b61ea326befbf7f492efc456c9b
https://github.com/hibernate/hibernate-search/commit/23e478e9fc616b61ea32...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExecutionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/StoredFieldsValuesDelegate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/AbstractNestingAwareAccumulatingValues.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneObjectProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ProjectionRequestContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/impl/LuceneIndexCompositeNodeType.java
Log Message:
-----------
HSEARCH-3943 Implement object projections on Lucene
Commit: c073a130b23acf1a9ff7076c984c605faea3d28a
https://github.com/hibernate/hibernate-search/commit/c073a130b23acf1a9ff7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/AbstractPerFieldTypeProjectionDataSet.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/AbstractProjectionDataSet.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/AbstractProjectionTestValues.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceProjectionTestValues.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldProjectionTestValues.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/AnalyzedStringFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/BigDecimalFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/BigIntegerFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/BooleanFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/ByteFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/DoubleFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/FieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/FloatFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/GeoPointFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/InstantFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/IntegerFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/KeywordStringFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/LocalDateFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/LocalDateTimeFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/LocalTimeFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/LongFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/MonthDayFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/NormalizedStringFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/OffsetDateTimeFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/OffsetTimeFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/ShortFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/YearFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/YearMonthFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/ZonedDateTimeFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/values/IndexableGeoPointWithDistanceFromCenterValues.java
Log Message:
-----------
HSEARCH-3943 Groundwork for more advanced projection tests
Commit: c017c474e2bf54848405eeee726041aa50a3ce58
https://github.com/hibernate/hibernate-search/commit/c017c474e2bf54848405...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/LuceneTckBackendFeatures.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/AbstractProjectionInObjectProjectionIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceProjectionBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldProjectionBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/ObjectProjectionSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-3943 Test object projections
Commit: d11053c9ff0820ae7f1f0475e529b5de86ede2f3
https://github.com/hibernate/hibernate-search/commit/d11053c9ff0820ae7f1f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M documentation/src/main/asciidoc/reference/search-dsl-projection.asciidoc
Log Message:
-----------
HSEARCH-3943 Better structure for the documentation of the composite projection
Commit: 0eebad336a6ee5372ec85c3229b00ffa6c40976e
https://github.com/hibernate/hibernate-search/commit/0eebad336a6ee5372ec8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M documentation/src/main/asciidoc/reference/mapper-orm-mapping-indexedembedded.asciidoc
M documentation/src/main/asciidoc/reference/search-dsl-projection.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/search/projection/Author.java
M documentation/src/test/java/org/hibernate/search/documentation/search/projection/ProjectionDslIT.java
Log Message:
-----------
HSEARCH-3943 Documentation of the object projection
Commit: 88ed79eaea0ec2b65080365df2796ed7f60a08f5
https://github.com/hibernate/hibernate-search/commit/88ed79eaea0ec2b65080...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcherImpl.java
Log Message:
-----------
HSEARCH-3943 Add more details to LuceneSearchQueryImpl.toString()
Compare: https://github.com/hibernate/hibernate-search/compare/01196ff86360...88ed...
2 years, 8 months
[hibernate/hibernate-search] 79629c: HSEARCH-4515 Don't use ToChildBlockJoinQuery unnec...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 79629c7903c26a2dfb0098f7d5688198f7a68047
https://github.com/hibernate/hibernate-search/commit/79629c7903c26a2dfb00...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/Queries.java
Log Message:
-----------
HSEARCH-4515 Don't use ToChildBlockJoinQuery unnecessarily in NestedDocsProvider
Commit: b160ffd4aabc3550b09394cd48d8eef4c25fadda
https://github.com/hibernate/hibernate-search/commit/b160ffd4aabc3550b093...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/DoubleMultiValuesToSingleValuesSource.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/JoiningLongMultiValuesSource.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/JoiningTextMultiValuesSource.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/LongMultiValuesToSingleValuesSource.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/MultiValueMode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/TextMultiValuesToSingleValuesSource.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/ChildDocIds.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/JoinChildrenIdIterator.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/ExplicitDocIdSetIterator.java
A backend/lucene/src/test/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/ChildDocIdsTest.java
Log Message:
-----------
HSEARCH-4515 Refactor JoinChildrenIdIterator into ChildDocIds
So that joining becomes optional, and the class allows for simply
iterating over children.
Commit: d32886115860012b49925d4c8e7569ff388b1d60
https://github.com/hibernate/hibernate-search/commit/d32886115860012b4992...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M 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/multitenancy/impl/DiscriminatorMultiTenancyStrategy.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/search/projection/impl/AbstractElasticsearchCompositeProjection.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/search/projection/impl/ElasticsearchDistanceToFieldProjection.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/ElasticsearchEntityProjection.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/ElasticsearchExplanationProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchIdProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchJsonHitProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchScoreProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSourceProjection.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionExtractContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionExtractionHelper.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionRequestContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionTransformContext.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/SearchProjectionExtractContext.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/SearchProjectionRequestContext.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/SearchProjectionTransformContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/SingleTypeNameExtractionHelper.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryExtractContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryRequestContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/AbstractLuceneCompositeProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDocumentProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDocumentReferenceProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityReferenceProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneExplanationProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneIdProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneScoreProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjection.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ProjectionExtractContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ProjectionRequestContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ProjectionTransformContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionExtractContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionRequestContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionTransformContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
Log Message:
-----------
HSEARCH-4515 Remove unnecessary "Search" prefix from projection contexts
Commit: 38682fce6714f7fef3586647aa63fe17044a8d13
https://github.com/hibernate/hibernate-search/commit/38682fce6714f7fef358...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/AbstractElasticsearchCompositeProjection.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeBiFunctionProjection.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeFunctionProjection.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeListProjection.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeProjection.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeTriFunctionProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/AbstractLuceneCompositeProjection.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeBiFunctionProjection.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeFunctionProjection.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeListProjection.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeProjection.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeTriFunctionProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionBuilderFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ObjectArrayProjectionCompositor.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ProjectionCompositor.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SearchProjectionBuilderFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SingleValuedProjectionCompositor.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeBiFunctionProjection.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeFunctionProjection.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeListProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeProjection.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeTriFunctionProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubSearchProjectionBuilderFactory.java
Log Message:
-----------
HSEARCH-4515 Simplify the implementation of composite projections
Commit: e340a0a99f2edc3b068f55983764ba7f5b994624
https://github.com/hibernate/hibernate-search/commit/e340a0a99f2edc3b068f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
Log Message:
-----------
HSEARCH-4515 Simplify the implementation of LuceneDistanceToFieldProjection
Commit: c389a84f0ff4744d377255b903df62222cddc466
https://github.com/hibernate/hibernate-search/commit/c389a84f0ff4744d3772...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/StoredFieldsCollector.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
Log Message:
-----------
HSEARCH-4515 Use ChildDocIds in StoredFieldsCollector
Commit: 01196ff86360d0511d25bd2cff794339ec3797b6
https://github.com/hibernate/hibernate-search/commit/01196ff86360d0511d25...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
Log Message:
-----------
HSEARCH-4515 Clarify comment about creating an IndexSearcher in NestedDocsProvider
Compare: https://github.com/hibernate/hibernate-search/compare/55f26360207d...0119...
2 years, 8 months
[hibernate/hibernate-search] 46a3f0: HSEARCH-4513 Make LuceneFieldComparatorSource immu...
by Yoann Rodière
Branch: refs/heads/6.0
Home: https://github.com/hibernate/hibernate-search
Commit: 46a3f044c276c46410fc88d32473f1a594eb171f
https://github.com/hibernate/hibernate-search/commit/46a3f044c276c46410fc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExecutionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/Queries.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/AggregationExtractContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ExtractionRequirements.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneNestedPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneFieldComparatorSource.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneDocumentValueSort.java
Log Message:
-----------
HSEARCH-4513 Make LuceneFieldComparatorSource immutable and don't use the parent query in sorts/projections/aggregations
Commit: 85011244fb7c1c0844329e7dfdfc20a9096d4b14
https://github.com/hibernate/hibernate-search/commit/85011244fb7c1c084432...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
Log Message:
-----------
HSEARCH-4513 Test using a single SearchSort instance in multiple queries
Commit: 8d85176c2b88900b5cf6a0af48b114631a39e685
https://github.com/hibernate/hibernate-search/commit/8d85176c2b88900b5cf6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
Log Message:
-----------
HSEARCH-4513 Fix typo in LuceneCollectors
Compare: https://github.com/hibernate/hibernate-search/compare/80589f6f86f0...8d85...
2 years, 8 months
[hibernate/hibernate-search] c7714f: HSEARCH-4513 Make LuceneFieldComparatorSource immu...
by Yoann Rodière
Branch: refs/heads/6.1
Home: https://github.com/hibernate/hibernate-search
Commit: c7714ffaafaee495bd63c0766f5f9bfef3517ad6
https://github.com/hibernate/hibernate-search/commit/c7714ffaafaee495bd63...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExecutionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/Queries.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/AggregationExtractContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ExtractionRequirements.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneNestedPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneFieldComparatorSource.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneDocumentValueSort.java
Log Message:
-----------
HSEARCH-4513 Make LuceneFieldComparatorSource immutable and don't use the parent query in sorts/projections/aggregations
Commit: 48edeecdfcdd06e8e312e4db1ddeea233d5f9c0e
https://github.com/hibernate/hibernate-search/commit/48edeecdfcdd06e8e312...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
Log Message:
-----------
HSEARCH-4513 Test using a single SearchSort instance in multiple queries
Commit: cca549de95dba548ecf10ae606c50c1b6638d4bc
https://github.com/hibernate/hibernate-search/commit/cca549de95dba548ecf1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
Log Message:
-----------
HSEARCH-4513 Fix typo in LuceneCollectors
Compare: https://github.com/hibernate/hibernate-search/compare/e48d83546488...cca5...
2 years, 8 months
[hibernate/hibernate-search] 8fde3f: HSEARCH-4513 Make LuceneFieldComparatorSource immu...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 8fde3f0f7f64eb85af856c40e6845a685bb67ca9
https://github.com/hibernate/hibernate-search/commit/8fde3f0f7f64eb85af85...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExecutionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/Queries.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/AggregationExtractContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ExtractionRequirements.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneNestedPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneFieldComparatorSource.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneDocumentValueSort.java
Log Message:
-----------
HSEARCH-4513 Make LuceneFieldComparatorSource immutable and don't use the parent query in sorts/projections/aggregations
Commit: 9bff0891c62a59795897c4a8d2d93804b5469a70
https://github.com/hibernate/hibernate-search/commit/9bff0891c62a59795897...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSortBaseIT.java
Log Message:
-----------
HSEARCH-4513 Test using a single SearchSort instance in multiple queries
Commit: 3c2683f892b737f5f40ad428d85de13d3302c988
https://github.com/hibernate/hibernate-search/commit/3c2683f892b737f5f40a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
Log Message:
-----------
HSEARCH-4513 Fix typo in LuceneCollectors
Compare: https://github.com/hibernate/hibernate-search/compare/4d4c855b7aee...3c26...
2 years, 8 months