Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: e13d32e700f4f0ebef49690f3268356206810d1b
https://github.com/hibernate/hibernate-search/commit/e13d32e700f4f0ebef49...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M .gitignore
Log Message:
-----------
Add nbactions.xml to .gitignore
Commit: 17cb7d11741020d8e8d6d80b6002b5d0cc278215
https://github.com/hibernate/hibernate-search/commit/17cb7d11741020d8e8d6...
Author: Waldemar Kłaczyński <wklaczynski(a)sabaservice.pl>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchSearchSortBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortCollector.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/AbstractElasticsearchDocumentValueSortBuilder.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/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/sort/impl/AbstractLuceneSearchSortBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneDoubleDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneFloatDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneIntegerDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneLongDomain.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/comparatorsource/impl/LuceneGeoPointDistanceComparatorSource.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneNumericFieldComparatorSource.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneTextFieldComparatorSource.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneDocumentValueSortBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneGeoPointDistanceSortBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneNumericFieldSortBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneTextFieldSortBuilder.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/scope/impl/MappedIndexScopeImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/query/dsl/spi/AbstractSearchQueryOptionsStep.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/FieldSortOptionsStep.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/FieldSortOptionsStepImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/SearchSortDslContextImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/spi/AbstractSortThenStep.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/spi/SearchSortDslContext.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/spi/SearchSortBuilder.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/sort/StubSortBuilder.java
Log Message:
-----------
HSEARCH-3846 Filtering multi values for sorts
Commit: 6f5354a22743c787eac9b4203846a19700c3b733
https://github.com/hibernate/hibernate-search/commit/6f5354a22743c787eac9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchSearchSortBuilder.java
Log Message:
-----------
HSEARCH-3846 Remove dead code
Commit: e048837811c59cf57aaa7f33d9a7e74d6385a51c
https://github.com/hibernate/hibernate-search/commit/e048837811c59cf57aaa...
Author: Waldemar Kłaczyński <wklaczynski(a)sabaservice.pl>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneNestedPredicateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneDocumentValueSortBuilder.java
Log Message:
-----------
HSEARCH-3846 Fix automatic recognition of nested filters for sorting filters
Commit: 9bf31e0963029dca5ecd943041e8ef2a9e604c16
https://github.com/hibernate/hibernate-search/commit/9bf31e0963029dca5ecd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/FieldSortOptionsStepImpl.java
Log Message:
-----------
HSEARCH-3846 Code cleanup for sort filters
Commit: 27da2dae1238e98a3ee0a64cd021c8574ba4c5b4
https://github.com/hibernate/hibernate-search/commit/27da2dae1238e98a3ee0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchSearchSortBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/AbstractElasticsearchDocumentValueSortBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/AbstractLuceneSearchSortBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneDocumentValueSortBuilder.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/spi/DistanceSortBuilder.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/spi/FieldSortBuilder.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/spi/SearchSortBuilder.java
Log Message:
-----------
HSEARCH-3846 Move filter() methods to more appropriate classes in SearchSortBuilder
inheritance tree
Commit: bbfacc9c69d24532e7121624c06655ee9b09affa
https://github.com/hibernate/hibernate-search/commit/bbfacc9c69d24532e712...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/ElasticsearchExtension.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/dsl/ElasticsearchSearchSortFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/dsl/impl/ElasticsearchSearchSortFactoryImpl.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/LuceneExtension.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/dsl/LuceneSearchSortFactory.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/dsl/impl/LuceneSearchSortFactoryImpl.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/scope/impl/MappedIndexScopeImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/query/dsl/spi/AbstractSearchQueryOptionsStep.java
A
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/ExtendedSearchSortFactory.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/FieldSortOptionsStep.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/SearchSortFactory.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/SearchSortFactoryExtension.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/CompositeSortComponentsStepImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/DefaultSearchSortFactory.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/DistanceSortOptionsStepImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/FieldSortOptionsStepImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/ScoreSortOptionsStepImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/SearchSortDslContextImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/SearchSortFactoryExtensionStep.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/spi/AbstractSortThenStep.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/spi/DelegatingSearchSortFactory.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/spi/SearchSortDslContext.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/spi/StaticSortThenStep.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
Log Message:
-----------
HSEARCH-3846 Expose the extended search predicate factory in extended search sort
factories
I.e. make sure that this works:
.search( ... ).extension( LuceneExtension.get() )
.where( ... )
.sort( f -> f.field( ... )
.filter( pf -> pf.fromLuceneQuery( ... ) ) )
... and that we don't have to call .extension() again on "pf", because
the provided factory is already extended.
Commit: 83958f8e37b1c05e6dfd78a0973ffe4d204c4252
https://github.com/hibernate/hibernate-search/commit/83958f8e37b1c05e6dfd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/DistanceSortOptionsStep.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/ExtendedSearchSortFactory.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/FieldSortOptionsStep.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/SearchSortFactory.java
A
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/SortFilterStep.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/DefaultSearchSortFactory.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/impl/DistanceSortOptionsStepImpl.java
M
engine/src/main/java/org/hibernate/search/engine/search/sort/dsl/spi/DelegatingSearchSortFactory.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
Log Message:
-----------
HSEARCH-3846 Expose the filter feature on the distance sort too
Commit: 5bd3e448eeffd6a779b2c1359e87ee9e16c11a40
https://github.com/hibernate/hibernate-search/commit/5bd3e448eeffd6a779b2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/AbstractElasticsearchDocumentValueSortBuilder.java
Log Message:
-----------
HSEARCH-3846 Fix Elasticsearch nested sort filters
Commit: 2a9e06af3f1f05ef9ef08b2afd05b1e486874ed9
https://github.com/hibernate/hibernate-search/commit/2a9e06af3f1f05ef9ef0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
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
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/IndexFieldStructure.java
Log Message:
-----------
HSEARCH-3846 Test nested sort filters
Commit: 4c2bffe0ad4ad229ce8cd1e42f4379ced6f45ada
https://github.com/hibernate/hibernate-search/commit/4c2bffe0ad4ad229ce8c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
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/types/sort/impl/AbstractElasticsearchDocumentValueSortBuilder.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/types/sort/impl/AbstractLuceneDocumentValueSortBuilder.java
Log Message:
-----------
HSEARCH-3846 Throw an exception when attempting to add a filter to a sort on a root
field
Commit: c808b98339a4b8b68b420a3fe7dd48f86ccf7bdd
https://github.com/hibernate/hibernate-search/commit/c808b98339a4b8b68b42...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortTypeFilteringSpecificsIT.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortTypeFilteringSpecificsIT.java
Log Message:
-----------
HSEARCH-3846 Test sort filtering with invalid field paths
Commit: b2dc51e01461660a266e60bddf0364c15ecfecd9
https://github.com/hibernate/hibernate-search/commit/b2dc51e01461660a266e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M documentation/src/main/asciidoc/search-dsl-sort.asciidoc
M
documentation/src/test/java/org/hibernate/search/documentation/search/sort/Author.java
M
documentation/src/test/java/org/hibernate/search/documentation/search/sort/SortDslIT.java
Log Message:
-----------
HSEARCH-3846 Document sort filters
Commit: 2a4fbaafe46a8cbddf262432c27a340291f4930c
https://github.com/hibernate/hibernate-search/commit/2a4fbaafe46a8cbddf26...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
M
integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
Log Message:
-----------
HSEARCH-3846 Test backend-specific extensions in sort filters
Compare:
https://github.com/hibernate/hibernate-search/compare/985caf81df1c...2a4f...