[hibernate/hibernate-orm] 3c5534: HHH-13070 Perform injections on listener when usin...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 3c5534f23f794a00bf376f6e0937718c6bf01dbb
https://github.com/hibernate/hibernate-orm/commit/3c5534f23f794a00bf376f6...
Author: Frank Doherty <fdoherty(a)atlassian.com>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerGroupImpl.java
A hibernate-core/src/test/java/org/hibernate/event/service/internal/EventListenerGroupAppendListenerTest.java
Log Message:
-----------
HHH-13070 Perform injections on listener when using duplication strategy with REPLACE_ORIGINAL
- Previously, the CallbackRegistryConsumer/JpaBootstrapSensitive injections were not performed on new listeners that
were appended using duplication strategy with REPLACE_ORIGINAL, which could lead to NullPointerException when the
listener was invoked (for example for a listener which is a CallbackRegistryConsumer, as the callbackRegistry field
was not set)
- Added calls to checkAgainstBaseInterface and performInjections on the listener, in the case of appending a listener
which replaces an existing one
- Added test cases to verify that the callbackRegistry is being injected
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 2 months
[hibernate/hibernate-search] 25adb2: HSEARCH-3296 Add missing generic type parameter to...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 25adb2f4537afe449bcbc734c25b2c76be4f1eab
https://github.com/hibernate/hibernate-search/commit/25adb2f4537afe449bcb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FullTextFieldIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/KeywordFieldIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/ISBNBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/ValueBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/ValueBridgeBindingContext.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/ValueBridgeBindingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultEnumValueBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/PassThroughValueBridge.java
Log Message:
-----------
HSEARCH-3296 Add missing generic type parameter to ValueBridgeBindingContext
Seems I added it to IdentifierBridgeBindingContext, but forgot to add it
here.
Commit: 9badd5b28739011eac29ca920fe343c99f79ce48
https://github.com/hibernate/hibernate-search/commit/9badd5b28739011eac29...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexManagerImplementor.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexManager.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchMultiIndexIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/IndexFieldAccessorIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/MultiTenancyIT.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/SmokeIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/analysis/AnalysisCustomIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchMultiIndexIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchQueryIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchResultLoadingOrTransformingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/BoolSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchAllSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchSearchPredicateIT.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/RangeSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.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/sort/SearchSortByFieldIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/AbstractSpatialWithinSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/DistanceSearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinBoundingBoxSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinCircleSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinPolygonSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/util/rule/SearchSetupHelper.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchTargetDelegateImpl.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapper.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapping.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingIndexManager.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingSearchTarget.java
Log Message:
-----------
HSEARCH-3296 Add IndexManager and SearchTarget wrappers to the Stub mapper
Just to reduce boilerplate code in tests. It turns out I'm going to have
to rename SessionContext, which was used just about everywhere for no
good reason, so this change ensures that 1) the SessionContext renaming
won't affect most of our tests and 2) more importantly, later changes to
SessionContext won't affect most of our tests.
Commit: d9dc82bc2b900df741bba3b9618a5498f8207f9f
https://github.com/hibernate/hibernate-search/commit/d9dc82bc2b900df741bb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexSearchTarget.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexWorkPlan.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/IndexingBackendContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/extraction/impl/ObjectHitExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/extraction/impl/ReferenceHitExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchBackendContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchQueryBuilderFactoryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchQueryBuilderImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexingBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexSearchTarget.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexWorkPlan.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchQueryBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchQueryBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexManagerImplementor.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexSearchTarget.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexManagerImpl.java
R engine/src/main/java/org/hibernate/search/engine/common/spi/SessionContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexManager.java
A engine/src/main/java/org/hibernate/search/engine/mapper/session/context/spi/SessionContextImplementor.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/SearchQueryResultDefinitionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilderFactory.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchMultiIndexIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchMultiIndexIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/impl/JavaBeanSearchManagerImpl.java
A mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/context/impl/JavaBeanSessionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmSearchManagerImpl.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/context/impl/HibernateOrmSessionContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoContainedTypeManager.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoContainedTypeWorkPlan.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeWorkPlan.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoMappingDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchTargetDelegateImpl.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSessionContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoTypeWorkPlan.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoWorkPlanImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingDelegate.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoSearchManagerImpl.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoSessionContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/session/context/spi/PojoSessionContextImplementor.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/StubSessionContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexSearchTarget.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexWorkPlan.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubSearchQueryBuilderFactory.java
Log Message:
-----------
HSEARCH-3296 Rename SessionContext to SessionContextImplementor
So that we can introduce an actual API type named "SessionContext".
Also move session-related classes to dedicated packages. I suspect we
will need to refer to other packages at some point, so let's avoid
circular dependencies.
Commit: 4e3a73516d570688ed7d0a6a44a3d315925d1f15
https://github.com/hibernate/hibernate-search/commit/4e3a73516d570688ed7d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
A engine/src/main/java/org/hibernate/search/engine/mapper/session/context/SessionContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/session/context/spi/SessionContextImplementor.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/log/impl/Log.java
A mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/context/JavaBeanSessionContext.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/context/impl/JavaBeanSessionContextImpl.java
M mapper/orm/pom.xml
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/context/HibernateOrmSessionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/context/impl/HibernateOrmSessionContextImpl.java
A mapper/orm/src/test/java/org/hibernate/search/mapper/orm/session/context/impl/HibernateOrmSessionContextTest.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/StubSessionContext.java
Log Message:
-----------
HSEARCH-3296 Add API types for session contexts
For now, they aren't used anywhere, but this will change in the next
commits.
Commit: d2496135c55c134422e84b339ca2447fe526c5d0
https://github.com/hibernate/hibernate-search/commit/d2496135c55c134422e8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingBridgeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingEmbeddedBridgeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingOverReindexingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/bridge/CustomPropertyBridge.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/bridge/CustomTypeBridge.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/AnnotationMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/ProgrammaticMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/bridge/CustomPropertyBridge.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/bridge/CustomTypeBridge.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/test/util/StartupStubBridge.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/AccountBorrowalSummaryBridge.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/MultiKeywordStringBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/IdentifierBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/PropertyBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/RoutingKeyBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/TypeBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultEnumIdentifierBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultIntegerIdentifierBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/spatial/GeoPointBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/IdentifierMapping.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoDocumentContributor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoDocumentReferenceProvider.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeWorkPlan.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchTargetDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PropertyIdentifierMapping.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/ProvidedStringIdentifierMapping.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/RoutingKeyBridgeRoutingKeyProvider.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/RoutingKeyProvider.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/NoOpPojoIndexingProcessor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorContainerElementNode.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorPropertyNode.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorTypeNode.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorValueBridgeNode.java
Log Message:
-----------
HSEARCH-3296 Pass a SessionContext to most runtime methods of bridges
Commit: 0be3d91206f7d7f921872e2506c89bea8e323a0b
https://github.com/hibernate/hibernate-search/commit/0be3d91206f7d7f92187...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/impl/ElasticsearchSearchQueryElementCollector.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/FieldSearchProjectionImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/SearchProjectionExecutionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchQueryBuilderImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/converter/impl/ElasticsearchFieldConverter.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/converter/impl/StandardFieldConverter.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/DistanceToFieldSearchProjectionTest.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/CompositeHitExtractor.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/HitExtractor.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ObjectHitExtractor.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ReferenceHitExtractor.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/DistanceToFieldSearchProjectionImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/DocumentReferenceSearchProjectionImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/FieldSearchProjectionImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ObjectSearchProjectionImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ReferenceSearchProjectionImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ScoreSearchProjectionImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionExecutionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchQueryBuilderImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchResultExtractorImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/converter/impl/AbstractFieldConverter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/converter/impl/LuceneFieldConverter.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/converter/FromIndexFieldValueConverter.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/converter/spi/PassThroughFromIndexFieldValueConverter.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/spi/UserIndexFieldConverter.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/util/ValueWrapper.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/ISBNBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultEnumValueBridge.java
Log Message:
-----------
HSEARCH-3296 Pass a SessionContext to FromIndexFieldValueConverter.convert
Commit: 8a0278ad9157b6a26d1648db8dbce1888be985b1
https://github.com/hibernate/hibernate-search/commit/8a0278ad9157b6a26d16...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/context/impl/JavaBeanSessionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/context/impl/HibernateOrmSessionContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/session/context/spi/PojoSessionContextImplementor.java
Log Message:
-----------
HSEARCH-3296 Make PojoSessionContextImplementor an abstract class in order to cache session-scoped objects
Such as the contexts passed to bridges (see next commit).
Commit: de371f7f11eb5c5e01abb8645814e47badd88e2d
https://github.com/hibernate/hibernate-search/commit/de371f7f11eb5c5e01ab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/FieldSearchProjectionImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/SearchProjectionExecutionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/converter/impl/ElasticsearchFieldConverter.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/converter/impl/StandardFieldConverter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/FieldSearchProjectionImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionExecutionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchResultExtractorImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/converter/impl/AbstractFieldConverter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/converter/impl/LuceneFieldConverter.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/converter/FromIndexFieldValueConverter.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/converter/runtime/FromIndexFieldValueConvertContext.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/converter/runtime/FromIndexFieldValueConvertContextExtension.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/converter/runtime/spi/FromIndexFieldValueConvertContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/converter/spi/PassThroughFromIndexFieldValueConverter.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/spi/UserIndexFieldConverter.java
R engine/src/main/java/org/hibernate/search/engine/mapper/session/context/SessionContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/session/context/spi/SessionContextImplementor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/util/ValueWrapper.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingBridgeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingEmbeddedBridgeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingOverReindexingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/bridge/CustomPropertyBridge.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/bridge/CustomTypeBridge.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/AnnotationMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/ProgrammaticMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/bridge/CustomPropertyBridge.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/bridge/CustomTypeBridge.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/test/util/StartupStubBridge.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/AccountBorrowalSummaryBridge.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/ISBNBridge.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/MultiKeywordStringBridge.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/log/impl/Log.java
R mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/context/JavaBeanSessionContext.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/context/impl/JavaBeanSessionContextImpl.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/OrmExtension.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/context/HibernateOrmSessionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/context/impl/HibernateOrmSessionContextImpl.java
A mapper/orm/src/test/java/org/hibernate/search/mapper/orm/OrmExtensionTest.java
R mapper/orm/src/test/java/org/hibernate/search/mapper/orm/session/context/impl/HibernateOrmSessionContextTest.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/IdentifierBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/PropertyBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/RoutingKeyBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/TypeBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultEnumIdentifierBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultEnumValueBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultIntegerIdentifierBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/spatial/GeoPointBridge.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/IdentifierBridgeFromDocumentIdentifierContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/IdentifierBridgeFromDocumentIdentifierContextExtension.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/PropertyBridgeWriteContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/PropertyBridgeWriteContextExtension.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/RoutingKeyBridgeToRoutingKeyContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/RoutingKeyBridgeToRoutingKeyContextExtension.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/TypeBridgeWriteContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/TypeBridgeWriteContextExtension.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/BridgeSessionContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PropertyIdentifierMapping.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/RoutingKeyBridgeRoutingKeyProvider.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorPropertyNode.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorTypeNode.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/session/context/spi/PojoSessionContextImplementor.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/StubSessionContext.java
Log Message:
-----------
HSEARCH-3296 Use one specific context interface per bridge/converter operation
This allows to de-couple the evolution of the context passed to each
method. This way, if we need, one day, to expose some methods to one
operation, but not to another, we will be able to do so. With a unique
interface for all operations, it wouldn't have been possible.
Commit: e68164975225576058165b4101d7f2297204defe
https://github.com/hibernate/hibernate-search/commit/e6816497522557605816...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexSearchTarget.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexSearchTargetBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexSearchTarget.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexSearchTargetBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchTargetContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexManagerImplementor.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexManagerImpl.java
A engine/src/main/java/org/hibernate/search/engine/mapper/mapping/context/spi/MappingContextImplementor.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexManager.java
M engine/src/main/java/org/hibernate/search/engine/mapper/session/context/spi/SessionContextImplementor.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchMultiIndexIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchMultiIndexIT.java
A mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/context/impl/JavaBeanMappingContextImpl.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/impl/JavaBeanMappingImpl.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/impl/JavaBeanSearchManagerImpl.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/context/impl/JavaBeanSessionContextImpl.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/context/HibernateOrmMappingContext.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/context/impl/HibernateOrmMappingContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmSearchManagerImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/context/impl/HibernateOrmSessionContextImpl.java
M mapper/orm/src/test/java/org/hibernate/search/mapper/orm/OrmExtensionTest.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/BridgeSessionContextImpl.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/context/spi/PojoMappingContextImplementor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchTargetDelegateImpl.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingImpl.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingImplementor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/session/context/spi/PojoSessionContextImplementor.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/StubMappingContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/StubSessionContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexSearchTarget.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingIndexManager.java
Log Message:
-----------
HSEARCH-3296 Introduce mapping contexts
To be used in the backend in particular as a view to the mapping
context.
This will be especially useful for operations that happen outside
of any session, or are expected to act identically across sessions.
(See next commits)
Commit: 49abba762ad689cb60d707a5e5319b32be2a9da7
https://github.com/hibernate/hibernate-search/commit/49abba762ad689cb60d7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/context/impl/JavaBeanMappingContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/context/impl/HibernateOrmMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/context/spi/PojoMappingContextImplementor.java
Log Message:
-----------
HSEARCH-3296 Make PojoMappingContextImplementor an abstract class in order to cache mapping-scoped objects
Such as the contexts passed to some bridges (see next commit).
Commit: af07dca630827254b2b2e57add18b66d85191d49
https://github.com/hibernate/hibernate-search/commit/af07dca630827254b2b2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/test/util/StartupStubBridge.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/OrmExtension.java
M mapper/orm/src/test/java/org/hibernate/search/mapper/orm/OrmExtensionTest.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/IdentifierBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/RoutingKeyBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultEnumIdentifierBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultIntegerIdentifierBridge.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/IdentifierBridgeToDocumentIdentifierContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/IdentifierBridgeToDocumentIdentifierContextExtension.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/IdentifierBridgeToDocumentIdentifierContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/context/spi/PojoMappingContextImplementor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/IdentifierMapping.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PropertyIdentifierMapping.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/ProvidedStringIdentifierMapping.java
Log Message:
-----------
HSEARCH-3296 Pass a context to IdentifierBridge#toDocumentIdentifier
Commit: 682e675fe8d5e63f2b198a258a71d1cccb90dcc9
https://github.com/hibernate/hibernate-search/commit/682e675fe8d5e63f2b19...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexSearchTarget.java
A 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/MatchPredicateBuilderImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/RangePredicateBuilderImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/SearchPredicateBuilderFactoryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchTargetContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/FieldSortBuilderImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/SearchSortBuilderFactoryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/converter/impl/ElasticsearchFieldConverter.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/converter/impl/StandardFieldConverter.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/GeoPointFieldPredicateBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/StandardFieldPredicateBuilderFactory.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/GeoPointFieldSortBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/StandardFieldSortBuilderFactory.java
A 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/search/predicate/impl/AbstractMatchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractRangePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/SearchPredicateBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchTargetContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/SearchSortBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/converter/impl/LocalDateFieldConverter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/converter/impl/LuceneFieldConverter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/converter/impl/StandardFieldConverter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/converter/impl/StringFieldConverter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneFieldIndexSchemaFieldContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/GeoPointFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/IntegerFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/IntegerMatchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/IntegerRangePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LocalDateFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LocalDateMatchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LocalDateRangePredicateBuilder.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/StringFieldPredicateBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/StringMatchPredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/StringRangePredicateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/AbstractFieldSortBuilderImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/GeoPointFieldSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/IntegerFieldSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/IntegerFieldSortBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LocalDateFieldSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LocalDateFieldSortBuilderFactory.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/StringFieldSortBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/StringFieldSortBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/converter/ToIndexFieldValueConverter.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/converter/runtime/ToIndexFieldValueConvertContext.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/converter/runtime/ToIndexFieldValueConvertContextExtension.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/converter/runtime/spi/ToIndexFieldValueConvertContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/converter/spi/PassThroughToIndexFieldValueConverter.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/spi/UserIndexFieldConverter.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/util/ValueWrapper.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/OrmExtension.java
M mapper/orm/src/test/java/org/hibernate/search/mapper/orm/OrmExtensionTest.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/ValueBridgeToIndexFieldValueConverter.java
Log Message:
-----------
HSEARCH-3296 Pass a context to ToIndexFieldValueConverter#convert
Commit: 01e45d06772a1cd29428d1f7b9a37cfb478bbb2b
https://github.com/hibernate/hibernate-search/commit/01e45d06772a1cd29428...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/bridge/IntegerAsStringValueBridge.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/bridge/OptionalIntAsStringValueBridge.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/AbstractFieldContainerValueExtractorIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldBaseIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldContainerValueExtractorExplicitIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FullTextFieldIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/KeywordFieldIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/bridge/IntegerAsStringValueBridge.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/bridge/OptionalIntAsStringValueBridge.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/test/util/StartupStubBridge.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/ISBNBridge.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/OrmExtension.java
M mapper/orm/src/test/java/org/hibernate/search/mapper/orm/OrmExtensionTest.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/ValueBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultEnumValueBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/PassThroughValueBridge.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/ValueBridgeToIndexedValueContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/ValueBridgeToIndexedValueContextExtension.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/ValueBridgeToIndexedValueContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/ValueBridgeToIndexFieldValueConverter.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/context/spi/PojoMappingContextImplementor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorValueBridgeNode.java
Log Message:
-----------
HSEARCH-3296 Pass a context to ValueBridge#toIndexedValue
Compare: https://github.com/hibernate/hibernate-search/compare/e5645aa80d67...01e4...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 2 months
[hibernate/hibernate-search] e5645a: HSEARCH-3217 Separate IndexSchemaFieldTypedContext...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: e5645aa80d67c2e38c783258e5aff8d580af9d9f
https://github.com/hibernate/hibernate-search/commit/e5645aa80d67c2e38c78...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/ElasticsearchIndexSchemaFieldContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/JsonStringIndexSchemaFieldTypedContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/JsonStringIndexSchemaFieldContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaFieldTypedContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/StandardIndexSchemaFieldTypedContext.java
Log Message:
-----------
HSEARCH-3217 Separate IndexSchemaFieldTypedContext from IndexSchemaFieldTerminalContext
If we want to be able to expose typed contexts that return a
non-standard accessor type (that does not extend the IndexFieldAccessor
interface), we must allow each typed context to expose a different
terminal context.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 2 months
[hibernate/hibernate-search] aff995: HSEARCH-3287 Use plural form in property prefixes:...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: aff995d4c915b08f48617f540de70afe719536a9
https://github.com/hibernate/hibernate-search/commit/aff995d4c915b08f4861...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/common/impl/IndexManagerBuildingStateHolder.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/analysis/ElasticsearchAnalysisConfigurerIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/analysis/LuceneAnalysisConfigurerIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/util/rule/SearchSetupHelper.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/bootstrap/UnusedPropertiesIT.java
M integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/OrmElasticsearchLibraryShowcaseIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/MappingSetupHelper.java
Log Message:
-----------
HSEARCH-3287 Use plural form in property prefixes: index => indexes, backend => backends
I.e. expect "indexes.nameOfIndex.someProperty" instead of
"index.nameOfIndex.someProperty" in properties, and same
for backend => backends.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 2 months
[hibernate/hibernate-search] efd82e: HSEARCH-3388 Move the logic related to reporting u...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: efd82e5709791688f3a7290ce19bf15809bd835c
https://github.com/hibernate/hibernate-search/commit/efd82e5709791688f3a7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchIntegrator.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchSessionFactoryObserver.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/impl/ConfigurationServicePropertySource.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/impl/HibernateOrmConfigurationPropertySource.java
Log Message:
-----------
HSEARCH-3388 Move the logic related to reporting unused property keys to HibernateOrmConfigurationPropertySource
It's a bit cleaner, but more importantly that will make the following
changes easier to deal with.
Commit: 389e5f7a95f2fc0f92610caf1f2405e1c866633c
https://github.com/hibernate/hibernate-search/commit/389e5f7a95f2fc0f9261...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M engine/src/main/java/org/hibernate/search/engine/cfg/ConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/cfg/impl/EmptyConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/cfg/impl/FallbackConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/cfg/impl/FunctionConfigurationProperty.java
M engine/src/main/java/org/hibernate/search/engine/cfg/impl/MaskedConfigurationPropertySource.java
A engine/src/main/java/org/hibernate/search/engine/cfg/impl/OverriddenConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/cfg/impl/PrefixedConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/cfg/impl/PropertiesConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/cfg/spi/ConfigurationProperty.java
M engine/src/main/java/org/hibernate/search/engine/cfg/spi/UnusedPropertyTrackingConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationBuilderImpl.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/analysis/ElasticsearchAnalysisConfigurerIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/analysis/LuceneAnalysisConfigurerIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/util/rule/SearchSetupHelper.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/impl/ConfigurationServicePropertySource.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/impl/HibernateOrmConfigurationPropertySource.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3388 Output the full property key (as provided by the user) in case of parsing error
Commit: 793e8355e778d35d005cd4d5a3bc0944ce2b6bce
https://github.com/hibernate/hibernate-search/commit/793e8355e778d35d005c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/cfg/impl/ConvertUtils.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/analysis/ElasticsearchAnalysisConfigurerIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/analysis/LuceneAnalysisConfigurerIT.java
Log Message:
-----------
HSEARCH-3388 Add a bit more information to error message when failing to parse property strings
Compare: https://github.com/hibernate/hibernate-search/compare/b143ac388dd4...793e...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 2 months
[hibernate/hibernate-search] 05c871: HSEARCH-3290 Remove the fluent ("fluid") syntax fr...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 05c871ad4a80c36f60b232c5d51b18fff8e3b327
https://github.com/hibernate/hibernate-search/commit/05c871ad4a80c36f60b2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/BooleanJunctionPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/BooleanJunctionPredicateContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/FluidSearchPredicateDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryResultContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryPredicateCollector.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryWrappingDefinitionResultContextImpl.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchMultiIndexIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/MultiTenancyIT.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/SmokeIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/analysis/AnalysisCustomIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchMultiIndexIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchQueryIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchResultLoadingOrTransformingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/BoolSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchAllSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchSearchPredicateIT.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/RangeSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.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/sort/SearchSortByFieldIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/AbstractSpatialWithinSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/DistanceSearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinBoundingBoxSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinCircleSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinPolygonSearchPredicateIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/AnnotationMappingSmokeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdDefaultBridgeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/AnnotationMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/ProgrammaticMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/AnnotationMappingSmokeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/ProgrammaticMappingSmokeIT.java
R integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/fluidandlambda/FluidAndLambdaSyntaxDaoFactory.java
R integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/fluidandlambda/FluidAndLambdaSyntaxDocumentDao.java
R integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/fluidandlambda/FluidAndLambdaSyntaxLibraryDao.java
R integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/fluidandlambda/FluidAndLambdaSyntaxPersonDao.java
R integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/fluidandobject/FluidAndObjectSyntaxDaoFactory.java
R integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/fluidandobject/FluidAndObjectSyntaxDocumentDao.java
R integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/fluidandobject/FluidAndObjectSyntaxLibraryDao.java
R integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/fluidandobject/FluidAndObjectSyntaxPersonDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/lambda/LambdaSyntaxDocumentDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/lambda/LambdaSyntaxLibraryDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/lambda/LambdaSyntaxPersonDao.java
M integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/OrmElasticsearchLibraryShowcaseIT.java
Log Message:
-----------
HSEARCH-3290 Remove the fluent ("fluid") syntax from the query DSL and the boolean predicate DSL
Commit: 72f954ffdd2f7755d34d2c49854cdae0be2d7f63
https://github.com/hibernate/hibernate-search/commit/72f954ffdd2f7755d34d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchAllPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchAllPredicateContextImpl.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchAllSearchPredicateIT.java
Log Message:
-----------
HSEARCH-3290 Remove the fluent ("fluid") syntax from the matchAll predicate DSL
Commit: c953cf5883293bec9025acec58e8e75f322b7352
https://github.com/hibernate/hibernate-search/commit/c953cf5883293bec9025...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/NestedPredicateFieldContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/NestedPredicateContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/NestedPredicateFieldContextImpl.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/MultiTenancyIT.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/SmokeIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/NestedSearchPredicateIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/lambda/LambdaSyntaxDocumentDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/object/ObjectSyntaxDocumentDao.java
Log Message:
-----------
HSEARCH-3290 Remove the fluent ("fluid") syntax from the nested predicate DSL
Commit: 8bdd8bcd95a2d4e8d9b4726792efd9914acedae4
https://github.com/hibernate/hibernate-search/commit/8bdd8bcd95a2d4e8d9b4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQuerySortCollector.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/FluidSearchSortDslContextImpl.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchMultiIndexIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchMultiIndexIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchQueryIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RangeSearchPredicateIT.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/sort/SearchSortByFieldIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/DistanceSearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinBoundingBoxSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinCircleSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinPolygonSearchPredicateIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/object/ObjectSyntaxLibraryDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/object/ObjectSyntaxPersonDao.java
Log Message:
-----------
HSEARCH-3290 Remove the fluent ("fluid") syntax from the sort DSL
Commit: b550c292409827708d0b1a57b44657a9414c10e1
https://github.com/hibernate/hibernate-search/commit/b550c292409827708d0b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
R engine/src/main/java/org/hibernate/search/engine/search/dsl/ExplicitEndContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/BooleanJunctionPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchAllPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchPredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MinimumShouldMatchNonEmptyContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/NestedPredicateFieldContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/RangePredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/RangePredicateFromContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateTerminalContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SpatialPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SpatialWithinPredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchPredicateFieldSetContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/NestedPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RangePredicateFieldSetContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SpatialWithinPredicateFieldSetContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/NonEmptySortContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortContainerContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortTerminalContext.java
Log Message:
-----------
HSEARCH-3290 Split ExplicitEndContext into SearchSortTerminalContext and SearchPredicateTerminalContext
So as to be able to add specific methods to each.
Commit: 3ad0c324b3036014bfdd367a9320a03778eeab60
https://github.com/hibernate/hibernate-search/commit/3ad0c324b3036014bfdd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/SearchSortFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/SearchSortFactoryImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RootSearchPredicateDslContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateContributorAggregator.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/RootSearchSortDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchSortContainerContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchSortContributorAggregator.java
M engine/src/main/java/org/hibernate/search/engine/search/sort/spi/SearchSortFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/sort/StubSearchSortFactory.java
Log Message:
-----------
HSEARCH-3290 Simplify the predicate/sort DSL contexts
Now that we don't need to support the fluent ("fluid") syntax, we can
have simpler implementations.
Commit: 4dbd227d5dbfca1f5823d52c68b01f030c1b99b0
https://github.com/hibernate/hibernate-search/commit/4dbd227d5dbfca1f5823...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/sort/impl/ElasticsearchSearchSortContainerContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/sort/impl/LuceneSearchSortContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateTerminalContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/BooleanJunctionPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchAllPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MultiFieldPredicateCommonState.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/NestedPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RangePredicateFieldSetContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RootSearchPredicateDslContextImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/AbstractObjectCreatingSearchPredicateContributor.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortTerminalContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/DistanceSortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/FieldSortContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/NonEmptySortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/RootSearchSortDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/ScoreSortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchSortContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchSortContainerExtensionContextImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/spi/NonEmptySortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/spi/SearchSortDslContext.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
Log Message:
-----------
HSEARCH-3290 Introduce toSort() and toPredicate() methods in the DSLs
They can be used wherever end() can be used, but they always return a
SearchSort/SearchPredicate, unlike end() that returns a context-specific
type.
This adds in particular the ability to cache predicates at any level of
the DSL tree, not just the root like we used to.
Commit: 176876e1dd7bc8901ef29f9e2cde5957c380917a
https://github.com/hibernate/hibernate-search/commit/176876e1dd7bc8901ef2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/ElasticsearchSearchPredicateContainerContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/impl/ElasticsearchSearchPredicateContainerContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/impl/JsonStringPredicateContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/LuceneSearchPredicateContainerContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/impl/LuceneQueryPredicateContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/impl/LuceneSearchPredicateContainerContextImpl.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/ExtensionIT.java
Log Message:
-----------
HSEARCH-3290 Add a terminal context to ES/Lucene-specific predicate DSLs
For consistency with other predicates.
Commit: ee5d3f2b53ce9a9a9150206f4897d55225c0793b
https://github.com/hibernate/hibernate-search/commit/ee5d3f2b53ce9a9a9150...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/DelegatingSearchPredicateContainerContextImpl.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/ExtensionIT.java
Log Message:
-----------
HSEARCH-3290 Return a SearchPredicateTerminalContext from SearchPredicateContainerContext#bool(Consumer).
... instead of returning the next context (N) directly.
This is for consistency with other predicates.
Commit: 35cc0d8e447ee77bd533716e1031acf674499889
https://github.com/hibernate/hibernate-search/commit/35cc0d8e447ee77bd533...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
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/dsl/predicate/ElasticsearchSearchPredicateContainerContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/impl/ElasticsearchSearchPredicateContainerContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/impl/JsonStringPredicateContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/sort/ElasticsearchSearchSortContainerContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/sort/impl/ElasticsearchSearchSortContainerContextImpl.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/dsl/predicate/LuceneSearchPredicateContainerContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/impl/LuceneQueryPredicateContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/impl/LuceneSearchPredicateContainerContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/sort/LuceneSearchSortContainerContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/sort/impl/LuceneSearchSortContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexSearchTarget.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexSearchTargetBase.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/BooleanJunctionPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchAllPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchPredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/NestedPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/NestedPredicateFieldContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/RangePredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/RangePredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/RangePredicateFromContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerExtensionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateTerminalContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SpatialPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SpatialWithinPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SpatialWithinPredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/BooleanJunctionPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchAllPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchPredicateFieldSetContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MultiFieldPredicateCommonState.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/NestedPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RangePredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RangePredicateFieldSetContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RootSearchPredicateDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateContainerExtensionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchTargetPredicateRootContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SpatialPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SpatialWithinPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SpatialWithinPredicateFieldSetContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/DelegatingSearchPredicateContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/SearchPredicateDslContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/SearchProjectionTerminalContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryResultContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryPredicateCollector.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQuerySortCollector.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryWrappingDefinitionResultContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/DistanceSortContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/FieldSortContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/NonEmptySortContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/ScoreSortContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortContainerContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortContainerContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortContainerExtensionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortTerminalContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/DistanceSortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/FieldSortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/RootSearchSortDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/ScoreSortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchSortContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchSortContainerExtensionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchTargetSortRootContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/spi/DelegatingSearchSortContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/spi/NonEmptySortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/spi/SearchSortDslContext.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortByFieldIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/object/ObjectSyntaxDocumentDao.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/FullTextSearchTargetImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/jpa/FullTextSearchTarget.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/impl/HibernateOrmSearchTargetImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/PojoSearchTarget.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchTargetDelegateImpl.java
Log Message:
-----------
HSEARCH-3290 Remove the concept of "next" context in most of the sort/predicate DSLs
Now that the fluent ("fluid") syntax is gone, the "next" context doesn't
make any sense: the end() method always returns a SearchPredicate.
Commit: b67c74bdf7a5a1a8102fb0b0179bdc0774366c29
https://github.com/hibernate/hibernate-search/commit/b67c74bdf7a5a1a8102f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchPredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/NestedPredicateFieldContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/RangePredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateTerminalContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SpatialPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SpatialWithinPredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortContainerContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortTerminalContext.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/ExtensionIT.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/search/predicate/BoolSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchAllSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchSearchPredicateIT.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/RangeSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinBoundingBoxSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinCircleSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinPolygonSearchPredicateIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/object/ObjectSyntaxDocumentDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/object/ObjectSyntaxLibraryDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/object/ObjectSyntaxPersonDao.java
Log Message:
-----------
HSEARCH-3290 Replace end() calls with toPredicate()/toSort() in the predicate and sort DSLs
Commit: 1f315ef97ae61b21607128e7eabd330e880c859d
https://github.com/hibernate/hibernate-search/commit/1f315ef97ae61b216071...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
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/dsl/predicate/impl/ElasticsearchSearchPredicateContainerContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/impl/JsonStringPredicateContextImpl.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/dsl/predicate/impl/LuceneQueryPredicateContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/impl/LuceneSearchPredicateContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexSearchTargetBase.java
M engine/src/main/java/org/hibernate/search/engine/common/dsl/impl/DslExtensionState.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/BooleanJunctionPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchAllPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/NestedPredicateFieldContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerExtensionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/BooleanJunctionPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchAllPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MultiFieldPredicateCommonState.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/NestedPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RangePredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RangePredicateFieldSetContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RootSearchPredicateDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateContainerExtensionContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchTargetPredicateRootContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SpatialPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SpatialWithinPredicateContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/AbstractObjectCreatingSearchPredicateContributor.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/AbstractSearchPredicateTerminalContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/DelegatingSearchPredicateContainerContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/SearchPredicateContributor.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/SearchPredicateDslContext.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/StaticSearchPredicateContributor.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryResultContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryPredicateCollector.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryWrappingDefinitionResultContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchSortContainerExtensionContextImpl.java
M engine/src/test/java/org/hibernate/search/engine/common/dsl/impl/DslExtensionStateTest.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchMultiIndexIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/MultiTenancyIT.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/SmokeIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/analysis/AnalysisCustomIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchMultiIndexIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchQueryIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchResultLoadingOrTransformingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/BoolSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchAllSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchSearchPredicateIT.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/RangeSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.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/sort/SearchSortByFieldIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/AbstractSpatialWithinSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/DistanceSearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinBoundingBoxSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinCircleSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinPolygonSearchPredicateIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/AnnotationMappingSmokeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdDefaultBridgeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/AnnotationMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/ProgrammaticMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/AnnotationMappingSmokeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/lambda/LambdaSyntaxDocumentDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/lambda/LambdaSyntaxLibraryDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/lambda/LambdaSyntaxPersonDao.java
Log Message:
-----------
HSEARCH-3290 Remove any notion of "position in the predicate tree" from DSL contexts
... so that container contexts can be used across all levels of the
predicate tree.
This is important mostly to avoid this:
SearchQuery<DocumentReference> query = searchTarget.query( sessionContext )
.asReferences()
.predicate( c -> c.bool()
.must( c2 -> c2.match().onField( "field1" ).matching( FIELD1_VALUE1 ) )
.must( c2 -> c2.match().onField( "field2" ).matching( FIELD1_VALUE2 ) )
)
.build();
... where one CANNOT use "c" where "c2" is used, because predicates
would be added to the wrong place in the DSL context.
The new syntax is as follows:
SearchQuery<DocumentReference> query = searchTarget.query( sessionContext )
.asReferences()
.predicate( f -> factory.bool()
.must( f.match().onField( "field1" ).matching( FIELD1_VALUE1 ).toPredicate() );
.must( f.match().onField( "field2" ).matching( FIELD1_VALUE2 ).toPredicate() );
.toPredicate()
} )
.build();
... which is a bit more verbose, but much safer, since the "factory",
here named "f", can be used anywhere without risking runtime exceptions
just because of where it is used.
Commit: 95ec563af0f3d4e43d8b8d3c2ba705700b65bd45
https://github.com/hibernate/hibernate-search/commit/95ec563af0f3d4e43d8b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/ElasticsearchExtension.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/ElasticsearchSearchPredicateContainerContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/ElasticsearchSearchPredicateFactoryContext.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/impl/ElasticsearchSearchPredicateContainerContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/impl/ElasticsearchSearchPredicateFactoryContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/predicate/impl/JsonStringPredicateContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/sort/impl/ElasticsearchSearchSortContainerContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/extraction/impl/ObjectHitExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/extraction/impl/ReferenceHitExtractor.java
A 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/ElasticsearchSearchPredicateCollector.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/SearchPredicateBuilderFactoryImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/SearchPredicateFactoryImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactoryImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionFactoryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchTargetContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchQueryBuilderFactoryImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchQueryFactoryImpl.java
A 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/ElasticsearchSearchSortCollector.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/SearchSortBuilderFactoryImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/SearchSortFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/LuceneExtension.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/LuceneSearchPredicateContainerContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/LuceneSearchPredicateFactoryContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/impl/LuceneQueryPredicateContextImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/impl/LuceneSearchPredicateContainerContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/predicate/impl/LuceneSearchPredicateFactoryContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/sort/impl/LuceneSearchSortContainerContextImpl.java
A 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/LuceneSearchPredicateCollector.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/SearchPredicateBuilderFactoryImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/SearchPredicateFactoryImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionBuilderFactoryImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchTargetContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchQueryBuilderFactoryImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchQueryFactoryImpl.java
A 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/LuceneSearchSortCollector.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/SearchSortBuilderFactoryImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/SearchSortFactoryImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaFieldContextExtension.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/index/spi/IndexSearchTarget.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexSearchTargetBase.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/BooleanJunctionPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchAllPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchPredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/NestedPredicateFieldContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/RangePredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/RangePredicateFieldSetContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/RangePredicateFromContext.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerContext.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerContextExtension.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateContainerExtensionContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateFactoryContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateFactoryContextExtension.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateFactoryExtensionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/BooleanJunctionPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchAllPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MatchPredicateFieldSetContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/MultiFieldPredicateCommonState.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/NestedPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RangePredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/RangePredicateFieldSetContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateContainerContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateContainerExtensionContextImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateFactoryContextImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateFactoryExtensionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SpatialPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SpatialWithinPredicateContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SpatialWithinPredicateFieldSetContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/AbstractSearchPredicateTerminalContext.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/DelegatingSearchPredicateContainerContextImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/DelegatingSearchPredicateFactoryContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/SearchProjectionContainerContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/SearchProjectionFactoryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/DistanceToFieldProjectionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/DocumentReferenceProjectionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/FieldProjectionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/ObjectProjectionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/ReferenceProjectionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/ScoreProjectionContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/SearchProjectionContainerContextImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/SearchProjectionFactoryContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryResultContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryPredicateCollector.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQuerySortCollector.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryWrappingDefinitionResultContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/SearchQueryResultDefinitionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortContainerContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/DistanceSortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/FieldSortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/RootSearchSortDslContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/ScoreSortContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchSortContainerContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchSortContainerExtensionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/impl/SearchTargetSortRootContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/spi/SearchTargetContext.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SearchPredicateBuilderFactory.java
R engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SearchPredicateFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SearchProjectionBuilderFactory.java
R engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SearchProjectionFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilderFactory.java
R engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/sort/spi/SearchSortBuilderFactory.java
R engine/src/main/java/org/hibernate/search/engine/search/sort/spi/SearchSortFactory.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/SearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/FullTextSearchTargetImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/jpa/FullTextSearchTarget.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/impl/HibernateOrmSearchTargetImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/PojoSearchTarget.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchTargetDelegateImpl.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexSearchTarget.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubSearchQueryBuilderFactory.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubSearchQueryFactory.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubSearchPredicateBuilderFactory.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubSearchPredicateFactory.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/StubSearchProjectionBuilderFactory.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/StubSearchProjectionFactory.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/sort/StubSearchSortBuilderFactory.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/sort/StubSearchSortFactory.java
Log Message:
-----------
HSEARCH-3290 Rename the Predicate/Projection ContainerContexts to FactoryContexts
Because these contexts no longer hold a reference to the
predicate/projection being built, to they really are closer to
factories.
Also, rename the SearchPredicateFactory and similar SPI interfaces to
SearchPredicate*Builder*Factory, to try and avoid confusions.
Commit: 8f4e04f13b1a17e3ad1e5a8777534ad86fafbc64
https://github.com/hibernate/hibernate-search/commit/8f4e04f13b1a17e3ad1e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/BooleanJunctionPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/MatchAllPredicateContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/NestedPredicateFieldContext.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/ExtensionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/MultiTenancyIT.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/SmokeIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/BoolSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchAllSearchPredicateIT.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/SearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinBoundingBoxSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinCircleSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/SpatialWithinPolygonSearchPredicateIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/lambda/LambdaSyntaxDocumentDao.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/object/ObjectSyntaxDocumentDao.java
Log Message:
-----------
HSEARCH-3290 Allow to omit the .toPredicate() call for predicates inside other predicates
Commit: 2a66bd2e520f04f588e792c3b1bb6a48560aaeb2
https://github.com/hibernate/hibernate-search/commit/2a66bd2e520f04f588e7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/SearchPredicateFactoryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/SearchPredicateFactoryContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/spi/DelegatingSearchPredicateFactoryContextImpl.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/ExtensionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/BoolSearchPredicateIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/dao/syntax/lambda/LambdaSyntaxDocumentDao.java
Log Message:
-----------
HSEARCH-3290 Return a SearchPredicate directly from bool(Consumer<? super BooleanJunctionPredicateContext> clauseContributor)
This should make using this method at the root of the predicate tree
easier.
Commit: b143ac388dd474bfa5c96f15152f23e200403aaa
https://github.com/hibernate/hibernate-search/commit/b143ac388dd474bfa5c9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-11-02 (Fri, 02 Nov 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/predicate/impl/BooleanJunctionPredicateContextImpl.java
Log Message:
-----------
HSEARCH-3290 Remove unnecessary OccurContext class from BooleanJunctionPredicateContextImpl
We don't need it anymore, now that we expect to be passed fully-defined
predicates to the must()/should()/etc. methods.
Compare: https://github.com/hibernate/hibernate-search/compare/5e7692ba1f89...b143...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 2 months