[hibernate/hibernate-search] cefbea: HSEARCH-3062 Support projections on nested fields
by Fabio Massimo
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: cefbea82d4aedb58311ee34dd03e2857290632ef
https://github.com/hibernate/hibernate-search/commit/cefbea82d4aedb58311e...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldNode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
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/scope/model/impl/LuceneScopeModel.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneDocumentStoredFieldVisitorBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ReusableDocumentStoredFieldVisitor.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/LuceneFieldProjectionBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionBuilderFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneChildrenCollector.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchResultExtractorImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneGeoPointFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/projection/impl/LuceneFieldProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/projection/impl/LuceneGeoPointFieldProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/projection/impl/LuceneStandardFieldProjectionBuilderFactory.java
Log Message:
-----------
HSEARCH-3062 Support projections on nested fields
Commit: 6bfc1feda7372d9e70be1ddedfb0165838d8a71f
https://github.com/hibernate/hibernate-search/commit/6bfc1feda7372d9e70be...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldSearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
Log Message:
-----------
HSEARCH-3062 Test projections on nested fields
Commit: e0672f9e3d8c10ea9a80bc1b624dc7f71f57bf19
https://github.com/hibernate/hibernate-search/commit/e0672f9e3d8c10ea9a80...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/DistanceCollector.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/LuceneDistanceToFieldProjectionBuilder.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/projection/impl/SearchProjectionExtractContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchResultExtractorImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/projection/impl/LuceneFieldProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/projection/impl/LuceneGeoPointFieldProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/projection/impl/LuceneStandardFieldProjectionBuilderFactory.java
Log Message:
-----------
HSEARCH-3062 Project distance from Lucene nested docs
Commit: 577eba9c1be0a79c83827c7829af893cf29392c2
https://github.com/hibernate/hibernate-search/commit/577eba9c1be0a79c8382...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
A integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/spatial/LuceneNestedDocumentDistanceProjectionIT.java
Log Message:
-----------
HSEARCH-3062 Test distance projection from Lucene nested docs
Commit: fb37f7766c7dba243c1409a3ec42d2a870d0fd2b
https://github.com/hibernate/hibernate-search/commit/fb37f7766c7dba243c14...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldNode.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectNode.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchScopeModel.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/ElasticsearchDistanceToFieldProjectionBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/util/impl/SloppyMath.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/projection/impl/ElasticsearchFieldProjectionBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/projection/impl/ElasticsearchGeoPointFieldProjectionBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/projection/impl/ElasticsearchStandardFieldProjectionBuilderFactory.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/DistanceToFieldSearchProjectionTest.java
Log Message:
-----------
HSEARCH-3062 Project distance from ES nested docs
Commit: 6876ebf1b3e596e3aed7027524e72b3153e070bf
https://github.com/hibernate/hibernate-search/commit/6876ebf1b3e596e3aed7...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
R integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/spatial/LuceneNestedDocumentDistanceProjectionIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/NestedDocumentDistanceProjectionIT.java
Log Message:
-----------
HSEARCH-3062 Test distance projection from ES nested docs
Commit: e395718c8c7b1c08d5c653e470151545dca731f5
https://github.com/hibernate/hibernate-search/commit/e395718c8c7b1c08d5c6...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionExtractContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchResultExtractorImpl.java
Log Message:
-----------
HSEARCH-3062 Use ToChildBlockJoinQuery to extract children
Commit: 84b85cd1f24be2881cefe65a8f106fddb19e052c
https://github.com/hibernate/hibernate-search/commit/84b85cd1f24be2881cef...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneNestedObjectDocumentBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneChildrenCollector.java
Log Message:
-----------
HSEARCH-3062 Change to binary type rootId field to extract doc values
Commit: 0e4f67421d065ba56c2c796eeb5e48be391c1448
https://github.com/hibernate/hibernate-search/commit/0e4f67421d065ba56c2c...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchScopeModel.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
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/scope/model/impl/LuceneScopeModel.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldSearchProjectionIT.java
Log Message:
-----------
HSEARCH-3062 Check nested document paths field compatibility
Commit: 4c6ecf50d4763fb32ff4bdd06a6c71dbae493d1b
https://github.com/hibernate/hibernate-search/commit/4c6ecf50d4763fb32ff4...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchScopeModel.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/ElasticsearchDistanceToFieldProjectionBuilder.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/types/projection/impl/ElasticsearchFieldProjectionBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/projection/impl/ElasticsearchGeoPointFieldProjectionBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/projection/impl/ElasticsearchStandardFieldProjectionBuilderFactory.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/DistanceToFieldSearchProjectionTest.java
Log Message:
-----------
HSEARCH-3062 Make ES nested paths single valued
Commit: 613b8571857ae7bff3942035595588dfa8ed8133
https://github.com/hibernate/hibernate-search/commit/613b8571857ae7bff394...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/scope/model/impl/LuceneScopeModel.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneDocumentStoredFieldVisitorBuilder.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/LuceneDistanceToFieldProjectionBuilder.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/LuceneFieldProjectionBuilder.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/types/codec/impl/LuceneFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneGeoPointFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/projection/impl/LuceneFieldProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/projection/impl/LuceneGeoPointFieldProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/projection/impl/LuceneStandardFieldProjectionBuilderFactory.java
Log Message:
-----------
HSEARCH-3062 Make Lucene nested paths single valued
Commit: 892ed77f6f605b3bcfd78adac6b13948ebcf960e
https://github.com/hibernate/hibernate-search/commit/892ed77f6f605b3bcfd7...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-08-08 (Thu, 08 Aug 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDistanceToFieldProjection.java
Log Message:
-----------
HSEARCH-3062 Comment the workaround to extract distance
Compare: https://github.com/hibernate/hibernate-search/compare/ddd9655e7ef5...892e...
5 years, 3 months
[hibernate/hibernate-orm] 8c515f: HHH-13534 AbstractLoadPlanBasedLoader never needs ...
by Sanne Grinovero
Branch: refs/heads/5.3
Home: https://github.com/hibernate/hibernate-orm
Commit: 8c515f0cf6b1e5c437b23253625183a9f355be71
https://github.com/hibernate/hibernate-orm/commit/8c515f0cf6b1e5c437b2325...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AbstractLoadPlanBasedLoader.java
Log Message:
-----------
HHH-13534 AbstractLoadPlanBasedLoader never needs a List of AfterLoadAction
Commit: cf4eeef40bfd99cb6c83c260aa1f621f4890f4a6
https://github.com/hibernate/hibernate-orm/commit/cf4eeef40bfd99cb6c83c26...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElementType.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/classic/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AliasResolutionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
M hibernate-core/src/main/java/org/hibernate/mapping/Formula.java
Log Message:
-----------
HHH-13531 Some more opportunities to reuse the constants pool in AliasConstantsHelperMore opportunities to reuse the int_ constant pools
Commit: cd3b76960e8e75ece6d8d9a808c28f086cf60f2d
https://github.com/hibernate/hibernate-orm/commit/cd3b76960e8e75ece6d8d9a...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/LobTypeMappings.java
Log Message:
-----------
HHH-13494 LobTypeMappings should not use a Bounded ConcurrentHashmap
Commit: 3088a2cfd0ce80a35af076402fbc7aebe8798a0e
https://github.com/hibernate/hibernate-orm/commit/3088a2cfd0ce80a35af0764...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/LobTypeMappings.java
Log Message:
-----------
HHH-13494 Deprecate singleton access in favour of static helpers
Commit: ab832caf0d773ab0f0b4e2f78741bf7ad4ba449b
https://github.com/hibernate/hibernate-orm/commit/ab832caf0d773ab0f0b4e2f...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/NationalizedTypeMappings.java
Log Message:
-----------
HHH-13495 Do not use BoundedConcurrentHashMap for NationalizedTypeMappings
Commit: b37d6938fa166ebb48592af4d14598eec74db180
https://github.com/hibernate/hibernate-orm/commit/b37d6938fa166ebb48592af...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/NationalizedTypeMappings.java
Log Message:
-----------
HHH-13495 Deprecate singleton access to NationalizedTypeMappings
Commit: 86cd6360b2449438d443e4cf4fabb87d6bfe5bc1
https://github.com/hibernate/hibernate-orm/commit/86cd6360b2449438d443e4c...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/NationalizedTypeMappings.java
Log Message:
-----------
HHH-13544 Restore logged warning on jdbc code mapping issue in NationalizedTypeMappings
Commit: c9f41dc9b7de2aed1633c28b22597181a5cdd38b
https://github.com/hibernate/hibernate-orm/commit/c9f41dc9b7de2aed1633c28...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java
M hibernate-core/src/test/java/org/hibernate/test/util/StringHelperTest.java
Log Message:
-----------
HHH-13512 Avoid allocating an array in org.hibernate.internal.util.StringHelper#unquote(String[], Dialect) if there are no changes to be applied
Commit: ccae2388ede6d79a6976f924d901bf5c58a65b29
https://github.com/hibernate/hibernate-orm/commit/ccae2388ede6d79a6976f92...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java
M hibernate-core/src/test/java/org/hibernate/test/util/StringHelperTest.java
Log Message:
-----------
HHH-13512 Optimise StringHelper#isQuoted(String, Dialect)
Commit: 2f1774beb8c21da37c0951c8d83694ec2e5cd3f0
https://github.com/hibernate/hibernate-orm/commit/2f1774beb8c21da37c0951c...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
Log Message:
-----------
HHH-13512 Remove some dead code
Compare: https://github.com/hibernate/hibernate-orm/compare/fed782cad4bc...2f1774b...
5 years, 3 months