[hibernate/hibernate-search] 83b8cb: HSEARCH-4575 Make fields projectable by default fo...
by Marko Bekhta
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 83b8cb0b7b23c3174f9a8b200a6165eda37bd3b0
https://github.com/hibernate/hibernate-search/commit/83b8cb0b7b23c3174f9a...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchStandardIndexFieldTypeOptionsStep.java
M documentation/src/main/asciidoc/reference/mapper-orm-mapping-directfieldmapping.asciidoc
M documentation/src/main/asciidoc/reference/search-dsl-projection.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexedentities/SearchMappingIndexedEntitiesIT.java
M engine/src/main/java/org/hibernate/search/engine/backend/types/Projectable.java
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
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/metamodel/IndexValueFieldTypeDescriptorBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-4575 Make fields projectable by default for ES
- change the default behavior of projectable for ES
- extend Tck helper to expose the projectable defaults for backends
- update documentation
Commit: a94f68365d81d984cac09dbcb901372e681a2449
https://github.com/hibernate/hibernate-search/commit/a94f68365d81d984cac0...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchGeoPointIndexFieldTypeOptionsStep.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceProjectionMultiValuedBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceProjectionSingleValuedBaseIT.java
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/FieldProjectionMultiValuedBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldProjectionSingleValuedBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldProjectionTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/model/singlefield/SingleFieldIndexBinding.java
Log Message:
-----------
HSEARCH-4575 Make fields projectable by default for ES
- adjust tests to leverage the new ES default for projectable
Commit: 12e9915788ce897c0605f3c3a42ec80f665ca034
https://github.com/hibernate/hibernate-search/commit/12e9915788ce897c0605...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchGeoPointIndexFieldTypeOptionsStep.java
M documentation/src/main/asciidoc/migration/index.asciidoc
M documentation/src/main/asciidoc/reference/mapper-orm-mapping-directfieldmapping.asciidoc
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/metamodel/IndexValueFieldTypeDescriptorBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceProjectionMultiValuedBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceProjectionSingleValuedBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSortTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/DistanceSearchableSortableIT.java
Log Message:
-----------
HSEARCH-4575 Modify GeoPoint defaults for ES
- make GeoPoint field both sortable and projectable as soon as at least one of these options are enabled
- adjust ES variants of tests to leverage the sorting enabled by default
- add migration guide notes
Compare: https://github.com/hibernate/hibernate-search/compare/5e73c9c5ca96...12e9...
2 years, 6 months