[hibernate/hibernate-search] a2ae25: HSEARCH-3476 Fix a few javadoc links on query elem...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: a2ae250494b43a7cc06fa1488912a6e41c94d941
https://github.com/hibernate/hibernate-search/commit/a2ae250494b43a7cc06f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/aggregation/impl/ElasticsearchSearchAggregationCollector.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateCollector.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortCollector.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/LuceneSearchAggregationCollector.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateCollector.java
Log Message:
-----------
HSEARCH-3476 Fix a few javadoc links on query element collectors
Commit: 5232113080348d31c6acb697bbeb0428fcbc04e6
https://github.com/hibernate/hibernate-search/commit/5232113080348d31c6ac...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
M jqassistant/rules.xml
Log Message:
-----------
HSEARCH-3476 Relax naming rules regarding module-specific prefixes for inner builder types
Commit: 28316d18cb67d4803d14d93d9288d4c1dd9a51da
https://github.com/hibernate/hibernate-search/commit/28316d18cb67d4803d14...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 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/aggregation/impl/AbstractElasticsearchNestableAggregation.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/aggregation/impl/AggregationRequestContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/impl/ElasticsearchSearchFieldContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/dsl/impl/ElasticsearchJsonPredicateFinalStep.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchNestablePredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchSearchPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchSingleFieldPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchBooleanPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchExistsPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchMatchAllPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchMatchIdPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchNestedPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchRangePredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilderFactoryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateCollector.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSimpleQueryStringPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchUserProvidedJsonPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/PredicateRequestContext.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/ElasticsearchSearchQueryRequestContext.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/predicate/impl/AbstractElasticsearchFieldPredicateBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchFieldPredicateBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointFieldPredicateBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointSpatialWithinBoundingBoxPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointSpatialWithinCirclePredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointSpatialWithinPolygonPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchStandardFieldPredicateBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchStandardMatchPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextFieldPredicateBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextMatchPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextPhrasePredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextWildcardPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/AbstractElasticsearchDocumentValueSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchDistanceSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchStandardFieldSortBuilder.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/impl/LuceneSearchFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/dsl/impl/LuceneQueryPredicateFinalStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneNestablePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSearchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSingleFieldPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSpatialWithinBoundingBoxPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSpatialWithinCirclePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSpatialWithinPolygonPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneStandardMatchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneStandardRangePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneBooleanPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneMatchAllPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneMatchIdPredicateBuilder.java
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/search/predicate/impl/LuceneSearchPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateCollector.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSimpleQueryStringPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneUserProvidedLuceneQueryPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/PredicateRequestContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/aggregation/impl/AbstractLuceneBucketAggregation.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/aggregation/impl/AbstractLuceneNestableAggregation.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/AbstractLuceneFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneExistsCompositePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneExistsPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinBoundingBoxPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinCirclePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinPolygonPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNativeFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericMatchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericRangePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneObjectPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneObjectPredicateBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextMatchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextPhrasePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextRangePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextWildcardPredicateBuilder.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/AbstractLuceneStandardFieldSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneStandardFieldSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneFieldSortBuilderFactory.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/LuceneGeoPointFieldSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneNativeFieldSortBuilderFactory.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/backend/scope/spi/IndexScope.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.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/aggregation/dsl/impl/SearchAggregationDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SearchPredicateFactoryExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/AbstractBooleanMultiFieldPredicateCommonState.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/BooleanPredicateClausesStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/DefaultSearchPredicateFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/ExistsPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/MatchAllPredicateOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/MatchIdPredicateMatchingStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/MatchPredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/MatchPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/MinimumShouldMatchConditionStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/NestedPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/PhrasePredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/PhrasePredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/RangePredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/RangePredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SearchPredicateFactoryExtensionStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SimpleQueryStringPredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SimpleQueryStringPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SpatialPredicateInitialStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SpatialWithinPredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SpatialWithinPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/WildcardPredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/WildcardPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/spi/AbstractPredicateFinalStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/BooleanPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/ExistsPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/MatchAllPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/MatchIdPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/MatchPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/NestedPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/PhrasePredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/RangePredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SearchPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SearchPredicateBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SimpleQueryStringPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SpatialWithinBoundingBoxPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SpatialWithinCirclePredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SpatialWithinPolygonPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/WildcardPredicateBuilder.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/impl/SearchSortDslContextImpl.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubPredicateBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubSearchPredicate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubSearchPredicateBuilderFactory.java
Log Message:
-----------
HSEARCH-3476 Move SearchPredicate creation back to the SearchPredicateBuilder
So that in the next commits, we can have each builder return a
different implementation of SearchPredicate, which will not reference
the builder and will be completely immutable.
Commit: 086d826d9523ea543ed267f3690a17f1398da905
https://github.com/hibernate/hibernate-search/commit/086d826d9523ea543ed2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/dsl/impl/ElasticsearchJsonPredicateFinalStep.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/dsl/impl/ElasticsearchSearchPredicateFactoryImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchNestablePredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchNestablePredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchSearchPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchSingleFieldPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchSingleFieldPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchBooleanPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchBooleanPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchExistsPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchExistsPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchMatchAllPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchMatchAllPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchMatchIdPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchMatchIdPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchNestedPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchNestedPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchRangePredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchRangePredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilderFactoryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateCollector.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSimpleQueryStringPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSimpleQueryStringPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchUserProvidedJsonPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchUserProvidedJsonPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointFieldPredicateBuilderFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointSpatialWithinBoundingBoxPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointSpatialWithinBoundingBoxPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointSpatialWithinCirclePredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointSpatialWithinCirclePredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointSpatialWithinPolygonPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchGeoPointSpatialWithinPolygonPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchStandardFieldPredicateBuilderFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchStandardMatchPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchStandardMatchPredicateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextFieldPredicateBuilderFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextMatchPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextMatchPredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextPhrasePredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextPhrasePredicateBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextWildcardPredicate.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextWildcardPredicateBuilder.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/spi/StaticPredicateFinalStep.java
Log Message:
-----------
HSEARCH-3476 Add one SearchPredicate implementation per Elasticsearch predicate
Instead of the previous hack consisting in shoving both the building
behavior and the predicate behavior into the builder in order to have
a single ElasticsearchSearchPredicate implementation that delegates
to the builder.
There are two advantages to this solution:
1. It's much easier to ensure that predicates are not mutated after the
fact, since we copy the data from the builder.
2. We no longer need to reference the ElasticsearchSearchContext from
predicates, even indirectly, meaning the context and related objects
can be garbage collected even if the predicate is cached by the user.
Commit: d4ac4a314020524440a77240bb72935cd46e3071
https://github.com/hibernate/hibernate-search/commit/d4ac4a314020524440a7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/dsl/impl/LuceneQueryPredicateFinalStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/dsl/impl/LuceneSearchPredicateFactoryImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneNestablePredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneNestablePredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSearchPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSearchPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSingleFieldPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSingleFieldPredicateBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSpatialWithinBoundingBoxPredicateBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSpatialWithinCirclePredicateBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSpatialWithinPolygonPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneStandardMatchPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneStandardMatchPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneStandardRangePredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneStandardRangePredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneBooleanPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneBooleanPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneMatchAllPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneMatchAllPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneMatchIdPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneMatchIdPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneNestedPredicate.java
R 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/search/predicate/impl/LuceneSearchPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateCollector.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSimpleQueryStringPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSimpleQueryStringPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneUserProvidedLuceneQueryPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneUserProvidedLuceneQueryPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/AbstractLuceneFieldPredicateBuilderFactory.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneExistsCompositePredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneExistsPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneExistsPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointFieldPredicateBuilderFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinBoundingBoxPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinBoundingBoxPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinCirclePredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinCirclePredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinPolygonPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinPolygonPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericFieldPredicateBuilderFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericMatchPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericMatchPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericRangePredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericRangePredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneObjectExistsPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneObjectPredicateBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextFieldPredicateBuilderFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextMatchPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextMatchPredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextPhrasePredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextPhrasePredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextRangePredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextRangePredicateBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextWildcardPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextWildcardPredicateBuilder.java
Log Message:
-----------
HSEARCH-3476 Add one SearchPredicate implementation per Lucene predicate
Instead of the previous hack consisting in shoving both the building
behavior and the predicate behavior into the builder in order to have
a single LuceneSearchPredicate implementation that delegates
to the builder.
There are two advantages to this solution:
1. It's much easier to ensure that predicates are not mutated after the
fact, since we copy the data from the builder.
2. We no longer need to reference the ElasticsearchSearchContext from
predicates, even indirectly, meaning the context and related objects
can be garbage collected even if the predicate is cached by the user.
Commit: 3a5b213a3909d3d0d2ecca99fd2b431126c09138
https://github.com/hibernate/hibernate-search/commit/3a5b213a3909d3d0d2ec...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneLeafSingleFieldPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneStandardMatchPredicate.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneStandardRangePredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/AbstractLuceneFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneExistsPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinBoundingBoxPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinCirclePredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneGeoPointSpatialWithinPolygonPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericMatchPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNumericRangePredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextMatchPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextPhrasePredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextRangePredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextWildcardPredicate.java
Log Message:
-----------
HSEARCH-3476 Factorize some code for leaf Lucene predicates
Commit: 34f5415c9d9129d51f1bef4f7f95180758150fe3
https://github.com/hibernate/hibernate-search/commit/34f5415c9d9129d51f1b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 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/impl/ElasticsearchSearchFieldContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/dsl/impl/ElasticsearchSearchSortFactoryImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchReversibleSortBuilder.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchSearchSortBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchSortBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchCompositeSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchIndexOrderSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchScoreSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSort.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortBuilderFactoryImpl.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/search/sort/impl/ElasticsearchUserProvidedJsonSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/AbstractElasticsearchDocumentValueSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchDistanceSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchFieldSortBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchGeoPointFieldSortBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchStandardFieldSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchStandardFieldSortBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchTemporalFieldSortBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchTextFieldSortBuilderFactory.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/impl/LuceneSearchFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/dsl/impl/LuceneSearchSortFactoryImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/AbstractLuceneReversibleSortBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/AbstractLuceneSearchSortBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/AbstractLuceneSortBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneCompositeSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneIndexOrderSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneScoreSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSort.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortCollector.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneUserProvidedLuceneSortFieldSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneUserProvidedLuceneSortSortBuilder.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/AbstractLuceneStandardFieldSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneStandardFieldSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneFieldSortBuilderFactory.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/LuceneGeoPointFieldSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneNativeFieldSortBuilderFactory.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/LuceneNumericFieldSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneTemporalFieldSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneTextFieldSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneTextFieldSortBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/backend/scope/spi/IndexScope.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/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
A engine/src/main/java/org/hibernate/search/engine/search/sort/spi/CompositeSortBuilder.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/ScoreSortBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/sort/spi/SearchSortBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/sort/spi/SearchSortBuilderFactory.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/sort/StubSearchSort.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/sort/StubSearchSortBuilderFactory.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-3476 Move SearchSort creation back to the SearchSortBuilder
So that in the next commits, we can have each builder return a
different implementation of SearchSort, which will not reference
the builder and will be completely immutable.
Commit: f1a3f518a1bdda3382402eb305321c148ba02821
https://github.com/hibernate/hibernate-search/commit/f1a3f518a1bdda338240...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/dsl/impl/ElasticsearchSearchSortFactoryImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchReversibleSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchReversibleSortBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/AbstractElasticsearchSortBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchCompositeSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchCompositeSortBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchIndexOrderSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchIndexOrderSortBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchScoreSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchScoreSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortBuilderFactoryImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchUserProvidedJsonSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchUserProvidedJsonSortBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/AbstractElasticsearchDocumentValueSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/AbstractElasticsearchDocumentValueSortBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchDistanceSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchDistanceSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchGeoPointFieldSortBuilderFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchStandardFieldSort.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchStandardFieldSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchStandardFieldSortBuilderFactory.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchTemporalFieldSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchTemporalFieldSortBuilderFactory.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchTextFieldSortBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/ElasticsearchTextFieldSortBuilderFactory.java
Log Message:
-----------
HSEARCH-3476 Add one SearchSort implementation per Elasticsearch sort
Instead of the previous hack consisting in shoving both the building
behavior and the sort behavior into the builder in order to have
a single ElasticsearchSearchSort implementation that delegates
to the builder.
Same reason as for predicates, see previous commits.
Commit: 8b484a85da5c21dca8a85fa80e5e87b865d6575b
https://github.com/hibernate/hibernate-search/commit/8b484a85da5c21dca8a8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/dsl/impl/LuceneSearchSortFactoryImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/AbstractLuceneReversibleSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/AbstractLuceneReversibleSortBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/AbstractLuceneSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/AbstractLuceneSortBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneCompositeSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneCompositeSortBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneIndexOrderSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneIndexOrderSortBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneScoreSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneScoreSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilderFactoryImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneUserProvidedLuceneSortFieldSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneUserProvidedLuceneSortFieldSortBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneUserProvidedLuceneSortSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneUserProvidedLuceneSortSortBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneDocumentValueSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneDocumentValueSortBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractLuceneStandardFieldSortBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneGeoPointDistanceSort.java
R 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/LuceneGeoPointFieldSortBuilderFactory.java
R 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/LuceneNumericFieldSortBuilderFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneStandardFieldSort.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneTemporalFieldSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneTemporalFieldSortBuilderFactory.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneTextFieldSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneTextFieldSortBuilderFactory.java
Log Message:
-----------
HSEARCH-3476 Add one SearchSort implementation per Lucene sort
Instead of the previous hack consisting in shoving both the building
behavior and the sort behavior into the builder in order to have
a single ElasticsearchSearchSort implementation that delegates
to the builder.
Same reason as for predicates, see previous commits.
Commit: 27d04717c2e8967f9640fabde0f03a193c9413ed
https://github.com/hibernate/hibernate-search/commit/27d04717c2e8967f9640...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/mapper/scope/impl/MappedIndexScopeImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/aggregation/dsl/impl/SearchAggregationDslContextImpl.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/impl/SearchSortDslContextImpl.java
Log Message:
-----------
HSEARCH-3476 Remove unnecessary predicate builder factories in the DSLContext for sorts and aggregations
Commit: 0832d20fc59d1ed3d737be9424a7ada5ac964e82
https://github.com/hibernate/hibernate-search/commit/0832d20fc59d1ed3d737...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 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/predicate/dsl/impl/ElasticsearchSearchPredicateFactoryImpl.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/predicate/dsl/impl/LuceneSearchPredicateFactoryImpl.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/predicate/dsl/SearchPredicateFactoryExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/AbstractBooleanMultiFieldPredicateCommonState.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/BooleanPredicateClausesStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/DefaultSearchPredicateFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/ExistsPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/MatchAllPredicateOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/MatchIdPredicateMatchingStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/MatchPredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/MatchPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/NestedPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/PhrasePredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/PhrasePredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/RangePredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/RangePredicateFieldStepImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SearchPredicateDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SearchPredicateFactoryExtensionStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SimpleQueryStringPredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SimpleQueryStringPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SpatialPredicateInitialStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SpatialWithinPredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/SpatialWithinPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/WildcardPredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/WildcardPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/spi/AbstractPredicateFinalStep.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/spi/SearchPredicateDslContext.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/spi/AbstractSearchQueryOptionsStep.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.java
Log Message:
-----------
HSEARCH-3476 Use a dedicated object to store the context for the predicate DSL
Mainly for consistency with all the other search DSLs.
Commit: a687b1409c52ba6434d357067793b4c13732f872
https://github.com/hibernate/hibernate-search/commit/a687b1409c52ba6434d3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 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/projection/dsl/impl/ElasticsearchSearchProjectionFactoryImpl.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/projection/dsl/impl/LuceneSearchProjectionFactoryImpl.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/projection/dsl/SearchProjectionFactoryExtension.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/DefaultSearchProjectionFactory.java
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/DocumentReferenceProjectionOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/EntityProjectionOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/EntityReferenceProjectionOptionsStepImpl.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/dsl/impl/ScoreProjectionOptionsStepImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/SearchProjectionDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/SearchProjectionFactoryExtensionStep.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/spi/SearchProjectionDslContext.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/spi/AbstractSearchQuerySelectStep.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
Log Message:
-----------
HSEARCH-3476 Use a dedicated object to store the context for the projection DSL
Mainly for consistency with all the other search DSLs.
Commit: 9d11ea436bad1364e2fc15f05bd140d175d3728b
https://github.com/hibernate/hibernate-search/commit/9d11ea436bad1364e2fc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/common/impl/DocumentIdHelper.java
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/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/MultiTenancyStrategy.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/impl/ElasticsearchSearchContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchMatchIdPredicate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
Log Message:
-----------
HSEARCH-3946 Do not store the full search context in match ID predicates
Commit: 599aa73380be578d6e6137d8a7f77eed621cd0bc
https://github.com/hibernate/hibernate-search/commit/599aa73380be578d6e61...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendImpl.java
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/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/MultiTenancyStrategy.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/impl/ElasticsearchSearchContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexWorkspace.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/multitenancy/impl/MultiTenancyStrategy.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/multitenancy/impl/NoMultiTenancyStrategy.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/impl/LuceneSearchContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneWorkFactoryImpl.java
Log Message:
-----------
HSEARCH-3946 Remove get prefixes from MultiTenancyStrategy methods
Compare: https://github.com/hibernate/hibernate-search/compare/06a25c98f3d3...599a...
4 years, 6 months
[hibernate/hibernate-search] 9adf06: HSEARCH-3929 Remove Java module tests in legacy code
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 9adf06390795d6566ae24c7461518dcb564de010
https://github.com/hibernate/hibernate-search/commit/9adf06390795d6566ae2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
R legacy/integrationtest/jdk9-modules/pom.xml
R legacy/integrationtest/jdk9-modules/src/main/java/module-info.java
R legacy/integrationtest/jdk9-modules/src/main/java/org/hibernate/search/test/integration/jdk9_modules/client/model/MyEntity.java
R legacy/integrationtest/jdk9-modules/src/main/java/org/hibernate/search/test/integration/jdk9_modules/client/service/MyEntityService.java
R legacy/integrationtest/jdk9-modules/src/main/resources/hibernate.properties
R legacy/integrationtest/jdk9-modules/src/test/java/org/hibernate/search/test/integration/jdk9_modules/MyEntityServiceIT.java
M legacy/pom.xml
Log Message:
-----------
HSEARCH-3929 Remove Java module tests in legacy code
We already test this with a different test in the new codebase.
Commit: 1b305185b319165ac0fb862e4794213d6f4aa068
https://github.com/hibernate/hibernate-search/commit/1b305185b319165ac0fb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M .travis.yml
M Jenkinsfile
M lgtm.yml
Log Message:
-----------
HSEARCH-3929 Use JDK11 instead of JDK8 in the default build
We will still produce Java 8 bytecode for the main artifacts.
Commit: 946bc53bce5fcfc0a64b754efa13b7be51e87977
https://github.com/hibernate/hibernate-search/commit/946bc53bce5fcfc0a64b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-3929 Add missing dependencies to run coveralls on Java 11
Commit: d7f0e47a368a4abeb519f18c3d2a38db44ffc7f2
https://github.com/hibernate/hibernate-search/commit/d7f0e47a368a4abeb519...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M legacy/elasticsearch/pom.xml
M legacy/orm/pom.xml
M legacy/testing/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-3929 Remove configuration specific to Java 9 or 10 in pom
We won't support building with these JDKs
Commit: 2e9956490d9c327263d6b0540c7b01e56e89b513
https://github.com/hibernate/hibernate-search/commit/2e9956490d9c327263d6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M Jenkinsfile
M integrationtest/pom.xml
M parents/public/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-3929 Build with JDK11 even when running tests with JDK8
Commit: d1d5243f59fb8bdb6f3150551c9e9cfa178f5357
https://github.com/hibernate/hibernate-search/commit/d1d5243f59fb8bdb6f31...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M integrationtest/jdk/java-modules/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-3929 Require at least JDK11 for the build
Commit: 2bb213a54e679213337df06a401c740f674780d7
https://github.com/hibernate/hibernate-search/commit/2bb213a54e679213337d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M util/internal/integrationtest/pom.xml
M util/internal/test/pom.xml
Log Message:
-----------
HSEARCH-3929 Use the baseline bytecode target (Java 8) for test utils
So that we can re-use them in tests regardless of the bytecode target
of these tests.
Commit: 011dcfbeb5105e22c05690ceb29bf03275954e6e
https://github.com/hibernate/hibernate-search/commit/011dcfbeb5105e22c056...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-3929 Rename the stash used for the default build result in Jenkinsfile
Due to how the stashing/unstashing steps are displayed in Jenkins, the
previous name was confusing.
Commit: 7eb075ddac5ceaf34e8acdd40db3b70724c5b8dd
https://github.com/hibernate/hibernate-search/commit/7eb075ddac5ceaf34e8a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-3929 Use artifacts from the default build for tests against non-default JDKs
E.g. don't re-build the engine: just use the one we built in
the default build.
Commit: 948382dc160d36ae8fe06172b6c507dae021f967
https://github.com/hibernate/hibernate-search/commit/948382dc160d36ae8fe0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-3929 Upgrade to JQAssistant 1.8.0
Hopefully this will get rid of these warnings, which seem caused by
JQAssistant bundling an old version of ASM:
[WARNING] Cannot scan class '/org/hibernate/search/util/common/reflect/impl/ReflectionUtilsTest$16.class'.
java.lang.UnsupportedOperationException
at org.objectweb.asm.ClassVisitor.visitNestHostExperimental (ClassVisitor.java:158)
at org.objectweb.asm.ClassReader.accept (ClassReader.java:541)
at org.objectweb.asm.ClassReader.accept (ClassReader.java:391)
at com.buschmais.jqassistant.plugin.java.impl.scanner.ClassFileScannerPlugin$1.execute (ClassFileScannerPlugin.java:68)
at com.buschmais.jqassistant.plugin.java.impl.scanner.ClassFileScannerPlugin$1.execute (ClassFileScannerPlugin.java:65)
at com.buschmais.jqassistant.plugin.common.api.scanner.MD5DigestDelegate.digest (MD5DigestDelegate.java:79)
at com.buschmais.jqassistant.plugin.java.impl.scanner.ClassFileScannerPlugin.scan (ClassFileScannerPlugin.java:65)
at com.buschmais.jqassistant.plugin.java.impl.scanner.ClassFileScannerPlugin.scan (ClassFileScannerPlugin.java:27)
at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan (ScannerImpl.java:116)
at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan (ScannerImpl.java:85)
at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan (ScannerImpl.java:60)
at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainerScannerPlugin.scan (AbstractContainerScannerPlugin.java:50)
at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainerScannerPlugin.scan (AbstractContainerScannerPlugin.java:29)
at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan (ScannerImpl.java:116)
at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan (ScannerImpl.java:85)
at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan (ScannerImpl.java:60)
at com.buschmais.jqassistant.plugin.maven3.impl.scanner.MavenProjectScannerPlugin.scanPath (MavenProjectScannerPlugin.java:326)
at com.buschmais.jqassistant.plugin.maven3.impl.scanner.MavenProjectScannerPlugin.scanPath (MavenProjectScannerPlugin.java:297)
at com.buschmais.jqassistant.plugin.maven3.impl.scanner.MavenProjectScannerPlugin.scanClassesDirectory (MavenProjectScannerPlugin.java:275)
at com.buschmais.jqassistant.plugin.maven3.impl.scanner.MavenProjectScannerPlugin.scan (MavenProjectScannerPlugin.java:83)
at com.buschmais.jqassistant.plugin.maven3.impl.scanner.MavenProjectScannerPlugin.scan (MavenProjectScannerPlugin.java:35)
at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan (ScannerImpl.java:116)
at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan (ScannerImpl.java:85)
at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan (ScannerImpl.java:60)
at com.buschmais.jqassistant.scm.maven.ScanMojo.execute (ScanMojo.java:101)
at com.buschmais.jqassistant.scm.maven.AbstractModuleMojo$1.run (AbstractModuleMojo.java:21)
at com.buschmais.jqassistant.scm.maven.AbstractMojo.execute (AbstractMojo.java:396)
at com.buschmais.jqassistant.scm.maven.AbstractModuleMojo.execute (AbstractModuleMojo.java:24)
at com.buschmais.jqassistant.scm.maven.AbstractMojo.execute (AbstractMojo.java:263)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Commit: 530f9f33f328cb03d201c09ed9a3978c7fca8c9a
https://github.com/hibernate/hibernate-search/commit/530f9f33f328cb03d201...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-3929 Upgrade to the latest version of plexus-compiler and ECJ
Hopefully this will fix problems we're having with ECJ rejecting our
target/source parameters:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] [ecj] The compiler reported an error but has not written it to its logging
[ERROR] [ecj] The following line(s) might indicate the issue:
Compliance level '1.8' is incompatible with target level '11'. A compliance level '11' or better is required
Commit: 445817377ab86047d1ff6b3101d3bf9c59fb1d6d
https://github.com/hibernate/hibernate-search/commit/445817377ab86047d1ff...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M CONTRIBUTING.md
M README.md
Log Message:
-----------
HSEARCH-3929 Move source code structure and build options from the README to CONTRIBUTING.md
Commit: cd2cf2a03c5f40dfd77389249eb2429f55d98177
https://github.com/hibernate/hibernate-search/commit/cd2cf2a03c5f40dfd773...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M CONTRIBUTING.md
Log Message:
-----------
HSEARCH-3929 Document build requirements
Commit: cd03553455ceb941d55ba076a9be7f39204dc310
https://github.com/hibernate/hibernate-search/commit/cd03553455ceb941d55b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M Jenkinsfile
M integrationtest/jdk/java-modules/pom.xml
M integrationtest/pom.xml
M parents/integrationtest/pom.xml
M parents/public/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-3929 Use the -release javac parameter instead of -source/-target
1. This will make sure the application is built against the classes
available in the standard library for the target version (8),
not the ones available in the standard library for the version of the
JDK we're using (11). E.g. using List.of() will trigger a compilation
failure.
See https://stackoverflow.com/a/43103038/6692043.
2. This will make the Eclipse compiler happy: it didn't agree with us
setting -source 1.8 -target 11, because it needs the source to be
greater than or equal to the target (javac doesn't have such
requirement).
3. This will unfortunately allow the use of Java 9+ language features in
tests. However, this shouldn't be a problem as we don't distribute
test JARs. Also, the CI build will ultimately fail if we do that in
integration tests, since the CI build compiles integration tests
while targeting Java 8.
Commit: 293e17ac4c2f6a3e00ba9aabd885c9f9dbc5d9da
https://github.com/hibernate/hibernate-search/commit/293e17ac4c2f6a3e00ba...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-3929 Upgrade to maven-processor-plugin 3.3.3
To get the releaseVersion configuration property.
Commit: 370b4dd1495287c8265ed4c4d2f89c694f4a6133
https://github.com/hibernate/hibernate-search/commit/370b4dd1495287c8265e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M integrationtest/pom.xml
M parents/integrationtest/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-3929 Remove the weird hack around maven.compiler.argument.X/maven.compiler.X
We no longer needs this.
Commit: 76667aa77836999e9623d7813bcc62517454fd87
https://github.com/hibernate/hibernate-search/commit/76667aa77836999e9623...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-3929 Disable Java Module ITs when compiling with the Eclipse compiler
It seems it cannot handle automatic module names? Anyway, it fails to
resolve some modules, and the error message is buggy (it doesn't tell us
which module it failed to resolve). For example:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project hibernate-search-integrationtest-java-modules: Compilation failure: Compilation failure:
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/module-info.java:[14,11] Cannot bind message for problem (id: 1300) "{0} cannot be resolved to a module" with arguments: {}
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/module-info.java:[15,11] Cannot bind message for problem (id: 1300) "{0} cannot be resolved to a module" with arguments: {}
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/module-info.java:[16,11] Cannot bind message for problem (id: 1300) "{0} cannot be resolved to a module" with arguments: {}
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/module-info.java:[17,11] Cannot bind message for problem (id: 1300) "{0} cannot be resolved to a module" with arguments: {}
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/module-info.java:[20,11] Cannot bind message for problem (id: 1300) "{0} cannot be resolved to a module" with arguments: {}
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/module-info.java:[21,11] Cannot bind message for problem (id: 1300) "{0} cannot be resolved to a module" with arguments: {}
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/config/MyElasticsearchAnalysisConfigurer.java:[9,8] The import org.hibernate.search.backend cannot be resolved
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/config/MyElasticsearchAnalysisConfigurer.java:[10,8] The import org.hibernate.search.backend cannot be resolved
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/config/MyElasticsearchAnalysisConfigurer.java:[12,59] ElasticsearchAnalysisConfigurer cannot be resolved to a type
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/config/MyElasticsearchAnalysisConfigurer.java:[17,24] ElasticsearchAnalysisConfigurationContext cannot be resolved to a type
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/service/AuthorService.java:[11,8] The import org.hibernate.Session cannot be resolved
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/service/AuthorService.java:[12,8] The import org.hibernate.SessionFactory cannot be resolved
[ERROR] /mnt/jenkins-workdir/workspace/arch-personal-yoann_HSEARCH-3929/integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/service/AuthorService.java:[13,8] The import org.hibernate.boot cannot be resolved
....
Commit: 398ea54664b54039194691b1e27941142ebfba33
https://github.com/hibernate/hibernate-search/commit/398ea54664b540391946...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-3929 Upgrade to sonar-maven-plugin 3.7.0.1746
Compare: https://github.com/hibernate/hibernate-search/compare/c192bdf4cbad...398e...
4 years, 6 months
[hibernate/hibernate-search] eb28f5: HSEARCH-3266 Use a configuration property checker ...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: eb28f51920cafdf199379d9be6ed3aa0dfc69091
https://github.com/hibernate/hibernate-search/commit/eb28f51920cafdf19937...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/client/ElasticsearchClientFactoryImplIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/client/ElasticsearchContentLengthIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendSetupStrategy.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/LuceneTckBackendSetupStrategy.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendSetupStrategy.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/rule/SearchSetupHelper.java
Log Message:
-----------
HSEARCH-3266 Use a configuration property checker in backend tests
To make sure the property checks won't incorrectly detect a property as
obsolete.
Commit: 0220c7a345ba46f9559e73ec5ae5d9ccddbec2df
https://github.com/hibernate/hibernate-search/commit/0220c7a345ba46f9559e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/cfg/spi/ConfigurationPropertyChecker.java
A engine/src/main/java/org/hibernate/search/engine/cfg/spi/HibernateSearch5Properties.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3266 Detect Search 5 properties and fail on bootstrap
Commit: 0de42dd5240373c355777cb2706b5c31e1b1e264
https://github.com/hibernate/hibernate-search/commit/0de42dd5240373c35577...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/bootstrap/ObsoletePropertiesIT.java
Log Message:
-----------
HSEARCH-3266 Test detection of Search 5 properties on bootstrap
Compare: https://github.com/hibernate/hibernate-search/compare/332491178061...0de4...
4 years, 6 months
[hibernate/hibernate-search] b05c91: HSEARCH-3948 Fix incorrect javadoc in IndexSchemaE...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: b05c916abe61c8a129e5c6b28379309013b2f7fd
https://github.com/hibernate/hibernate-search/commit/b05c916abe61c8a129e5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-16 (Tue, 16 Jun 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaElement.java
Log Message:
-----------
HSEARCH-3948 Fix incorrect javadoc in IndexSchemaElement
Commit: 9e02fc668d0a41977aafb5a8e310790731b5db90
https://github.com/hibernate/hibernate-search/commit/9e02fc668d0a41977aaf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-16 (Tue, 16 Jun 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/ObjectFieldStorageIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/ObjectFieldTemplateIT.java
Log Message:
-----------
HSEARCH-3948 Clarify error messages when trying to use "nested" features on flattened objects
Commit: a34dbd81ec31620d9e4c9772af90caddd4c07ac2
https://github.com/hibernate/hibernate-search/commit/a34dbd81ec31620d9e4c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-16 (Tue, 16 Jun 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
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/dsl/impl/ElasticsearchIndexSchemaObjectFieldTemplateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectFieldNode.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectFieldTemplate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchScopeSearchIndexesContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneDocumentBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
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/dsl/impl/LuceneIndexSchemaObjectFieldTemplateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectFieldNode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectFieldTemplate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/scope/model/impl/LuceneScopeSearchIndexesContext.java
M documentation/src/main/asciidoc/mapper-orm-bridge-index-field-dsl.asciidoc
M documentation/src/main/asciidoc/mapper-orm-mapping.asciidoc
M documentation/src/main/asciidoc/search-dsl-aggregation.asciidoc
M documentation/src/main/asciidoc/search-dsl-sort.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/object/InvoiceLineItemsDetailBinder.java
M documentation/src/test/java/org/hibernate/search/documentation/search/aggregation/Book.java
M documentation/src/test/java/org/hibernate/search/documentation/search/predicate/Book.java
M documentation/src/test/java/org/hibernate/search/documentation/search/projection/Book.java
M documentation/src/test/java/org/hibernate/search/documentation/search/sort/Author.java
M documentation/src/test/java/org/hibernate/search/documentation/search/sort/Book.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/DocumentElement.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaElement.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/ObjectFieldStorage.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/spi/IndexSchemaObjectNodeBuilder.java
A engine/src/main/java/org/hibernate/search/engine/backend/types/ObjectStructure.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/AbstractIndexBindingContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/spi/IndexedEmbeddedDefinition.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/NestedPredicateFieldStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SearchPredicateFactory.java
M engine/src/test/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaManagerNestingContextTest.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerCreationMappingFieldTemplatesIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingFieldTemplateIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationMappingFieldTemplateIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/work/LuceneIndexingNestedIT.java
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/ObjectFieldStorageIT.java
A 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/SmokeIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementDynamicFieldNameIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementFieldReferenceIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementMultiValuedIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementStaticFieldNameIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/FieldTemplateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/ObjectFieldTemplateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/metamodel/IndexFieldDescriptorIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/metamodel/IndexObjectFieldTypeDescriptorBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/multitenancy/MultiTenancyBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/SingleFieldAggregationFilteringSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/SingleFieldAggregationTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/ExistsSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/ImplicitNestedSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/NestedSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/ObjectExistsSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceSearchProjectionTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceSearchProjectionTypeIndependentIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldSearchProjectionTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldSearchProjectionTypeIndependentIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/CompositeSearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortFilteringSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortFilteringSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortTypeIndependentIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/model/singlefield/FirstLevelObjectBinding.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/model/singlefield/SecondLevelObjectBinding.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/model/singlefield/SingleFieldIndexBinding.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBridgeBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/TypeBridgeBaseIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Document.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/ValueBindingContextImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/spi/PojoMappingCollectorValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/IndexedEmbedded.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/processing/impl/IndexedEmbeddedProcessor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyMappingIndexedEmbeddedStep.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyMappingIndexedEmbeddedStepImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorValueNodeBuilderDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/StubIndexSchemaNode.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/AbstractStubIndexSchemaObjectNodeBuilder.java
Log Message:
-----------
HSEARCH-3948 Rename ObjectFieldStorage to ObjectStructure and move it to package 'engine.backend.types'
1. The old name was lengthy.
2. The old name was confusing, as it refers to storage but has little to
do with the storage we use in projections.
3. The enum was located in a package strictly related to the DSL, but
was used much more broadly.
Commit: 0218c8a9608fbf9eea3c709bdb93b38cc379f730
https://github.com/hibernate/hibernate-search/commit/0218c8a9608fbf9eea3c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-16 (Tue, 16 Jun 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
Log Message:
-----------
HSEARCH-3948 Check that IndexedEmbedded.storage still works as expected
Compare: https://github.com/hibernate/hibernate-search/compare/d160e828fe73...0218...
4 years, 6 months