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...