[hibernate/hibernate-validator] 948aaa: HV-1709 Check that Polish Identification numbers a...
by Marko Bekhta
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: 948aaa2776ec915451ebd2e40401a095fa3cdba0
https://github.com/hibernate/hibernate-validator/commit/948aaa2776ec91545...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/pl/PESELValidator.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/pl/PolishNumberValidator.java
M engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/pl/NIPValidatorTest.java
M engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/pl/PESELValidatorTest.java
M engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/pl/REGONValidatorTest.java
Log Message:
-----------
HV-1709 Check that Polish Identification numbers are of correct length
- Check the length of validated identification number
- Add tests for short/long values
- Add tests for nondigits in the values
- Disallow nondigits in PESEL
5 years, 7 months
[hibernate/hibernate-validator] 097453: HV-823 Provide contract for customization of prope...
by Guillaume Smet
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: 0974534ff1a56e9082106f6912fe0ad046177d1b
https://github.com/hibernate/hibernate-validator/commit/0974534ff1a56e908...
Author: Damir Alibegovic <damir.alibegovic(a)olmero.ch>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M copyright.txt
M documentation/pom.xml
M documentation/src/main/asciidoc/ch12.asciidoc
A documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProvider.java
A documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProviderTest.java
A documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/Person.java
A documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/PersonSerializationTest.java
A documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/clarkKent.json
M engine/pom.xml
M engine/src/main/java/org/hibernate/validator/BaseHibernateValidatorConfiguration.java
M engine/src/main/java/org/hibernate/validator/internal/engine/AbstractConfigurationImpl.java
A engine/src/main/java/org/hibernate/validator/internal/engine/DefaultPropertyNodeNameProvider.java
M engine/src/main/java/org/hibernate/validator/internal/engine/PredefinedScopeValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryConfigurationHelper.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Property.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanHelper.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M engine/src/main/java/org/hibernate/validator/internal/xml/config/ValidationBootstrapParameters.java
A engine/src/main/java/org/hibernate/validator/spi/nodenameprovider/JavaBeanProperty.java
A engine/src/main/java/org/hibernate/validator/spi/nodenameprovider/Property.java
A engine/src/main/java/org/hibernate/validator/spi/nodenameprovider/PropertyNodeNameProvider.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/path/PathImplTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/BeanMetaDataManagerTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/aggregated/ExecutableMetaDataTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/aggregated/ParameterMetaDataTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/aggregated/PropertyMetaDataTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/core/MetaConstraintTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/location/ConstraintLocationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/AnnotationMetaDataProviderTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/AnnotationMetaDataProviderTestBase.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/TypeAnnotationMetaDataRetrievalTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/xml/MappingXmlParserTest.java
A engine/src/test/java/org/hibernate/validator/test/spi/nodenameprovider/AnnotationPropertyNodeNameProvider.java
A engine/src/test/java/org/hibernate/validator/test/spi/nodenameprovider/PropertyNodeNameProviderTest.java
A engine/src/test/java/org/hibernate/validator/test/spi/nodenameprovider/jackson/JacksonAnnotationPropertyNodeNameProvider.java
A engine/src/test/java/org/hibernate/validator/test/spi/nodenameprovider/jackson/JacksonAnnotationPropertyNodeNameProviderTest.java
M pom.xml
Log Message:
-----------
HV-823 Provide contract for customization of property names in constraint violation
Added PropertyNodeNameProvider SPI with Property and JavaBeanProperty as supporting interfaces.
This SPI lives in JavaBeanHelper and is used to get the name when creating JavaBeanField and JavaBeanGetter,
so when a property path is constructed, this resolved name is used.
If not set, the default implementation will be used that returns the actual name from the class.
This new SPI can be configured through HibernateValidatorConfiguration.
Testing:
- Added tests for configuration
- Added a sample implementation by using reflection and custom annotation
- Added tests for reflection implementation
- Added a sample implementation by using Jackson lib
- Added tests for Jackson implementation
Added documentation with examples.
Commit: 7af945416378502b4e4d17f6ce5bfa12a533c022
https://github.com/hibernate/hibernate-validator/commit/7af945416378502b4...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M documentation/src/main/asciidoc/ch12.asciidoc
Log Message:
-----------
HV-823 Minor adjustments to the documentation
Compare: https://github.com/hibernate/hibernate-validator/compare/c9f7a0b59d49...7...
5 years, 7 months
Security Alert. Your account was compromissed. Password must be changed.
by hibernate-commits@lists.jboss.org
Hello!
I have very bad news for you.
21/10/2018 - on this day I hacked your OS and got full access to your account hibernate-commits(a)lists.jboss.org
So, you can change the password, yes... But my malware intercepts it every time.
How I made it:
In the software of the router, through which you went online, was a vulnerability.
I just hacked this router and placed my malicious code on it.
When you went online, my trojan was installed on the OS of your device.
After that, I made a full dump of your disk (I have all your address book, history of viewing sites, all files, phone numbers and addresses of all your contacts).
A month ago, I wanted to lock your device and ask for a not big amount of btc to unlock.
But I looked at the sites that you regularly visit, and I was shocked by what I saw!!!
I'm talk you about sites for adults.
I want to say - you are a BIG pervert. Your fantasy is shifted far away from the normal course!
And I got an idea....
I made a screenshot of the adult sites where you have fun (do you understand what it is about, huh?).
After that, I made a screenshot of your joys (using the camera of your device) and glued them together.
Turned out amazing! You are so spectacular!
I'm know that you would not like to show these screenshots to your friends, relatives or colleagues.
I think $753 is a very, very small amount for my silence.
Besides, I have been spying on you for so long, having spent a lot of time!
Pay ONLY in Bitcoins!
My BTC wallet: 1E9qZgNC9KRnJfwZChcBtXN8D4g17T51p7
You do not know how to use bitcoins?
Enter a query in any search engine: "how to replenish btc wallet".
It's extremely easy
For this payment I give you two days (48 hours).
As soon as this letter is opened, the timer will work.
After payment, my virus and dirty screenshots with your enjoys will be self-destruct automatically.
If I do not receive from you the specified amount, then your device will be locked, and all your contacts will receive a screenshots with your "enjoys".
I hope you understand your situation.
- Do not try to find and destroy my virus! (All your data, files and screenshots is already uploaded to a remote server)
- Do not try to contact me (this is not feasible, I sent you an email from your account)
- Various security services will not help you; formatting a disk or destroying a device will not help, since your data is already on a remote server.
P.S. You are not my single victim. so, I guarantee you that I will not disturb you again after payment!
This is the word of honor hacker
I also ask you to regularly update your antiviruses in the future. This way you will no longer fall into a similar situation.
Do not hold evil! I just do my job.
Have a nice day!
5 years, 7 months
[hibernate/hibernate-search] b01bf6: HSEARCH-3573 Use the term "entity" instead of "(lo...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: b01bf6c2c590d10c63761e0ffffaaded1c7efe78
https://github.com/hibernate/hibernate-search/commit/b01bf6c2c590d10c6376...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
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/projection/ElasticsearchSearchProjectionFactoryContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryResultDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchEntityProjection.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchEntityProjectionBuilder.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchObjectProjection.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchObjectProjectionBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/SearchProjectionBackendContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilderFactory.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/projection/LuceneSearchProjectionFactoryContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryResultDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityProjection.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityProjectionBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneObjectProjection.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneObjectProjectionBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilderFactory.java
M documentation/src/main/asciidoc/internals.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/directfieldmapping/HibernateOrmSimpleMappingIT.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexSearchScope.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/EntityProjectionContext.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/ObjectProjectionContext.java
M 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/SearchProjectionFactoryContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/SearchProjectionFactoryExtensionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/DefaultSearchProjectionFactoryContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/EntityProjectionContextImpl.java
R 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/spi/DelegatingSearchProjectionFactoryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryResultDefinitionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryResultDefinitionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/LoadingResult.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ObjectLoader.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ProjectionHitMapper.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/spi/EntityProjectionBuilder.java
R engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ObjectProjectionBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SearchProjectionBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilderFactory.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/log/impl/Log.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierConsumerDocumentProducer.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/search/spi/PojoSearchScopeDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubSearchQueryBuilderFactory.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubEntitySearchProjection.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubObjectSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubSearchProjectionBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapperUtils.java
Log Message:
-----------
HSEARCH-3573 Use the term "entity" instead of "(loaded) object" for entity queries and projections
Commit: 563b81df9abb8b67bf28f7e2022156b873929cda
https://github.com/hibernate/hibernate-search/commit/563b81df9abb8b67bf28...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/EntityProjectionContextImpl.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/loading/spi/DefaultProjectionHitMapper.java
A engine/src/main/java/org/hibernate/search/engine/search/loading/spi/EntityLoader.java
A engine/src/main/java/org/hibernate/search/engine/search/loading/spi/IdentityEntityLoader.java
R engine/src/main/java/org/hibernate/search/engine/search/loading/spi/IdentityObjectLoader.java
R engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ObjectLoader.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/stub/StubEntityLoader.java
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/stub/StubObjectLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/HibernateOrmSearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/impl/SearchScopeImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/context/impl/HibernateOrmLoadingContext.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderBuilder.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeEntityLoader.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeObjectLoader.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmComposableEntityLoader.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmComposableObjectLoader.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmSingleTypeByIdEntityLoader.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmSingleTypeByIdObjectLoader.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/MutableEntityLoadingOptions.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/MutableObjectLoadingOptions.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/ObjectLoaderBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubLoadingContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapperUtils.java
Log Message:
-----------
HSEARCH-3573 Rename ObjectLoader to EntityLoader
Commit: 461e2b9f5051b9b24179709a395e38a5c963f7fb
https://github.com/hibernate/hibernate-search/commit/461e2b9f5051b9b24179...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/DefaultProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/EntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmSingleTypeByIdEntityLoader.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/search/spi/PojoSearchScopeDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapperUtils.java
Log Message:
-----------
HSEARCH-3573 Remove any trace of an obsolete feature: the hit transformer
This was replaced with projections some time ago, so we don't need the
extra complexity that it used to bring.
Commit: a0f83ba50e42409dcbf6e46f3f09313b14d70a9a
https://github.com/hibernate/hibernate-search/commit/a0f83ba50e42409dcbf6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
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/projection/ElasticsearchSearchProjectionFactoryContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/projection/impl/ElasticsearchSearchProjectionFactoryContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/ElasticsearchSearchQueryResultDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryResultDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchEntityProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchEntityProjectionBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/SearchProjectionBackendContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilderFactory.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/projection/LuceneSearchProjectionFactoryContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/projection/impl/LuceneSearchProjectionFactoryContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/LuceneSearchQueryResultDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryResultDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityProjectionBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.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/mapping/spi/MappedIndexSearchScope.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexSearchScopeBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/EntityProjectionContext.java
M 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/SearchProjectionFactoryContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/SearchProjectionFactoryExtensionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/DefaultSearchProjectionFactoryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/EntityProjectionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/impl/SearchProjectionFactoryExtensionContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/spi/DelegatingSearchProjectionFactoryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryResultDefinitionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryResultDefinitionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractDelegatingSearchQueryResultDefinitionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractSearchQueryResultDefinitionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/context/spi/LoadingContext.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/context/spi/LoadingContextBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/DefaultProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/EntityLoader.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/IdentityEntityLoader.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/LoadingResult.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/EntityProjectionBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SearchProjectionBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilderFactory.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryBaseIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/SearchScope.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/HibernateOrmSearchQueryResultDefinitionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/HibernateOrmSearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/impl/SearchScopeImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/context/impl/HibernateOrmLoadingContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmComposableEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmSingleTypeByIdEntityLoader.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/PojoSearchScopeDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchSessionDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/search/spi/PojoSearchScopeDelegate.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/session/spi/PojoSearchSessionDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubSearchQueryBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubSearchProjectionBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/GenericStubMappingSearchScope.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapperUtils.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingIndexManager.java
Log Message:
-----------
HSEARCH-3573 Consistently use E instead of O to represent entity types
Commit: 87160c0c99305ee5097fd689d6d4d877ece9ad33
https://github.com/hibernate/hibernate-search/commit/87160c0c99305ee5097f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeBiFunctionProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeFunctionProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeListProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeProjectionBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeTriFunctionProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldProjectionBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeBiFunctionProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeFunctionProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeListProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeProjectionBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeTriFunctionProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjectionBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/SearchProjection.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/SearchProjectionBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubSearchQueryBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeBiFunctionSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeFunctionSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeListSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeTriFunctionSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubSearchProjection.java
Log Message:
-----------
HSEARCH-3573 Consistently use R for generic reference types and P for generic projection types
Commit: 785c77a104a76f60ad28e38f88fa814d2a9ff404
https://github.com/hibernate/hibernate-search/commit/785c77a104a76f60ad28...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
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/query/ElasticsearchSearchQueryContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/ElasticsearchSearchQueryResultContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryResultDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/ElasticsearchSearchQuery.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/ElasticsearchSearchResult.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch6SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch6SearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchResultImpl.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/work/builder/impl/ScrollWorkBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ElasticsearchSearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ScrollWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/SearchWork.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/query/LuceneSearchQueryContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/LuceneSearchQueryResultContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryResultDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/LuceneSearchQuery.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/LuceneSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchResultExtractor.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchResultExtractorImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchResultImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcher.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/work/impl/LuceneExecuteQueryWork.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneStubWorkFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneWorkFactory.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/DefaultSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/query/ExtendedSearchQuery.java
M engine/src/main/java/org/hibernate/search/engine/search/query/SearchQuery.java
M engine/src/main/java/org/hibernate/search/engine/search/query/SearchQueryExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/query/SearchResult.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/AbstractSearchQuery.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SimpleSearchResult.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryBaseIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/Search.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapterExtension.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/SearchHitsAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/SearchResultAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchQuery.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchQueryBuilder.java
Log Message:
-----------
HSEARCH-3573 Consistently use H for generic search query hit types
Commit: 0de5d788e5a9a22836030a595a7a6118a31b8bee
https://github.com/hibernate/hibernate-search/commit/0de5d788e5a9a2283603...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M documentation/src/main/asciidoc/internals.asciidoc
Log Message:
-----------
HSEARCH-3573 Remove a mention of an obsolete asWrappedQuery() method in the documentation
Commit: 0593e875f8da65d15e70f97bb8e69dd8f78000be
https://github.com/hibernate/hibernate-search/commit/0593e875f8da65d15e70...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M documentation/src/main/asciidoc/concepts.asciidoc
Log Message:
-----------
HSEARCH-3573 Add a TODO in the documentation to explain what an entity is
Compare: https://github.com/hibernate/hibernate-search/compare/712be8455a37...0593...
5 years, 7 months
[hibernate/hibernate-search] 51209d: HSEARCH-3544 Merge SearchQueryContextImpl and Sear...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 51209defde5971e753ec2895e2d562da0e20a0fc
https://github.com/hibernate/hibernate-search/commit/51209defde5971e753ec...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryResultContextImpl.java
Log Message:
-----------
HSEARCH-3544 Merge SearchQueryContextImpl and SearchQueryResultContextImpl
We don't need those to be separate classes, we just need the interfaces
they implement to be clearly separate to force users to set a predicate.
Having a single implementing class will make it easier to introduce
extensions.
Commit: 202f5eb3ddc4c1f95ab5607e7b7cedb728ea718f
https://github.com/hibernate/hibernate-search/commit/202f5eb3ddc4c1f95ab5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/projection/SearchProjectionFactoryContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/sort/SearchSortContainerContextExtension.java
Log Message:
-----------
HSEARCH-3544 Fix typos in javadoc of existing extensions
Commit: 9607f0f97dc6d539ba46a4243dcfcfc74224befc
https://github.com/hibernate/hibernate-search/commit/9607f0f97dc6d539ba46...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilderFactoryImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryContextImpl.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryPredicateCollector.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQuerySortCollector.java
M engine/src/main/java/org/hibernate/search/engine/search/sort/spi/SearchSortBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/sort/StubSearchSortBuilderFactory.java
Log Message:
-----------
HSEARCH-3544 Remove any internal state from SearchQueryContextImpl
... and rely exclusively on the state held by the query builder.
This will allow us to create separate contexts, for example implementing
a Lucene-specific interface, that point to the same query builder and
can create the query directly instead of the original context.
Note the removed comments in toQuery() were obsolete: they dated back to
a time where we had a "fully fluid" API, i.e. we allowed to do something
like:
.search(Book.class).predicate().match().onField(...).matching(...).toQuery()
... which lead to lots of corner casses like the one mentioned in this
comment, which is why we gave up on this syntax.
Commit: f46a11f1e9bae437925f14005267846b94236a0c
https://github.com/hibernate/hibernate-search/commit/f46a11f1e9bae437925f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
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/SearchSortIT.java
Log Message:
-----------
HSEARCH-3544 Correctly test that predicate/sort/projection extensions trigger an exception when not supported
Commit: f04b891aff0fb0a28f830cffab0bfe6f300018d7
https://github.com/hibernate/hibernate-search/commit/f04b891aff0fb0a28f83...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexSearchScope.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryContextExtension.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryResultContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryContext.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/SearchQueryContextImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractDelegatingSearchQueryContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/SearchQueryContextImplementor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryBaseIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/SearchQueryResultDefinitionContext.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/SearchQueryResultDefinitionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchScopeDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/search/spi/PojoSearchScopeDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingQueryResultDefinitionContext.java
Log Message:
-----------
HSEARCH-3544 Allow to use extensions on the SearchQueryResultContext
Commit: 33eb0b0ea3cddec703b98317dc6fe524ff2db7ba
https://github.com/hibernate/hibernate-search/commit/33eb0b0ea3cddec703b9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/LuceneExtension.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/LuceneSearchQueryContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/LuceneSearchQueryResultContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
Log Message:
-----------
HSEARCH-3544 Add a Lucene extension to the query DSL
Commit: 1b84de2cd51ee2a28ce79e8900caef30acc6ba38
https://github.com/hibernate/hibernate-search/commit/1b84de2cd51ee2a28ce7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/ElasticsearchExtension.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/ElasticsearchSearchQueryContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/ElasticsearchSearchQueryResultContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
Log Message:
-----------
HSEARCH-3544 Add an Elasticsearch extension to the query DSL
Commit: 86e9dfd8ffd8799f941107411b6af9b1ca00a003
https://github.com/hibernate/hibernate-search/commit/86e9dfd8ffd8799f9411...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/SearchQuery.java
Log Message:
-----------
HSEARCH-3544 Fix duplicate sentence in SearchQuery javadoc
Commit: 1770b3141d767bcae589027e0054e3c04c17bf72
https://github.com/hibernate/hibernate-search/commit/1770b3141d767bcae589...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
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/query/ElasticsearchSearchQueryContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/ElasticsearchSearchQueryResultContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryContextImpl.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/query/LuceneSearchQueryContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/LuceneSearchQueryResultContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexSearchScope.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/SearchQueryContextExtension.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/DefaultSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractDelegatingSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/SearchQueryContextImplementor.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryBaseIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/SearchQueryResultDefinitionContext.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/SearchQueryResultDefinitionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchScopeDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/search/spi/PojoSearchScopeDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingQueryResultDefinitionContext.java
Log Message:
-----------
HSEARCH-3544 Allow to use backend-specific predicates and sort directly when extending the query context
This required to add generic type parameters to contexts, which is
rather unfortunate, but I couldn't find a better way to do it.
Initially the plan was to override methods in the backend-specific
interfaces, e.g. this method from `SearchQueryContext`:
```
S sort(Consumer<? super SearchContainerContext> sortContributor);
```
would be overridden this way in `LuceneSearchQueryContext`:
```
S sort(Consumer<? super LuceneSearchContainerContext> sortContributor);
```
In theory that makes perfect sense, because
`Consumer<? super LuceneSearchContainerContext>` is a supertype of
`Consumer<? super SearchContainerContext>`,
and a small test allows to check that:
```
Consumer<? super SearchContainerContext> var1 = null;
Consumer<? super LuceneSearchContainerContext> var2 = var1;
```
The above compiles just fine.
However, it seems the java compiler doesn't allow this kind of method
override, and we get a compilation error related to conflicting method
signatures.
So we can't do this, and have to rely on generic type parameters in
contexts.
Commit: e120687c4f69b97a85ba06bf23534660d7453a62
https://github.com/hibernate/hibernate-search/commit/e120687c4f69b97a85ba...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeBiFunctionProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeFunctionProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeListProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchCompositeTriFunctionProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDistanceToFieldProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDocumentReferenceProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchExplanationProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchObjectProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchReferenceProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchScoreProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSourceProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch6SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch6SearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeBiFunctionProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeFunctionProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeListProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneCompositeTriFunctionProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDocumentProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDocumentReferenceProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneExplanationProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneObjectProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneReferenceProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneScoreProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchResultExtractorImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchBackendContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/loading/impl/DefaultProjectionHitMapper.java
A engine/src/main/java/org/hibernate/search/engine/search/loading/impl/NoLoadingProjectionHitMapper.java
A engine/src/main/java/org/hibernate/search/engine/search/loading/spi/LoadingResult.java
A engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ProjectionHitMapper.java
R engine/src/main/java/org/hibernate/search/engine/search/query/impl/DefaultProjectionHitMapper.java
R engine/src/main/java/org/hibernate/search/engine/search/query/impl/NoLoadingProjectionHitMapper.java
R engine/src/main/java/org/hibernate/search/engine/search/query/spi/LoadingResult.java
R engine/src/main/java/org/hibernate/search/engine/search/query/spi/ProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/StubBackendBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubSearchQueryBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubIndexSearchQuery.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchQueryBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeBiFunctionSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeFunctionSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeListSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubCompositeTriFunctionSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubDefaultSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubFieldSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubObjectSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubReferenceSearchProjection.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/projection/impl/StubSearchProjection.java
Log Message:
-----------
HSEARCH-3544 Move loading-related SPIs to the loading.spi package
Commit: 4b1fd3453e8bf3cd570f3baf8b29c8ebbe52aff8
https://github.com/hibernate/hibernate-search/commit/4b1fd3453e8bf3cd570f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M jqassistant/rules.xml
Log Message:
-----------
HSEARCH-3544 Relax some jqassistant rules
... to allow nested classes named Builder even when implementing
interfaces from other modules.
Commit: d135d9fceda6365acecc726218e085ccc86b6ee6
https://github.com/hibernate/hibernate-search/commit/d135d9fceda6365acecc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/SearchBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/SearchBackendContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.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/mapping/spi/MappedIndexSearchScope.java
A engine/src/main/java/org/hibernate/search/engine/search/loading/context/spi/LoadingContext.java
A engine/src/main/java/org/hibernate/search/engine/search/loading/context/spi/LoadingContextBuilder.java
R engine/src/main/java/org/hibernate/search/engine/search/loading/impl/DefaultProjectionHitMapper.java
R engine/src/main/java/org/hibernate/search/engine/search/loading/impl/NoLoadingProjectionHitMapper.java
A engine/src/main/java/org/hibernate/search/engine/search/loading/spi/DefaultProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilderFactory.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/log/impl/Log.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/SearchScope.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/impl/SearchScopeImpl.java
A mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/loading/context/impl/JavaBeanLoadingContext.java
A mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/loading/impl/JavaBeanProjectionHitMapper.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/context/impl/HibernateOrmLoadingContext.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/PojoSearchScopeDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/search/spi/PojoSearchScopeDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/StubBackendBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubSearchQueryBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubIndexSearchQuery.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchQueryBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/GenericStubMappingSearchScope.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubLoadingContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingIndexManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingQueryResultDefinitionContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingSearchScope.java
Log Message:
-----------
HSEARCH-3544 Introduce a concept of LoadingContext
When the query DSL will return a mapper-agnostic query type, we will
want to add an extension system allowing the mapper to wrap queries into
their own type (e.g. a JPA query). When doing so, it is likely that
mappers will need a hook allowing to change loading options (e.g. to
implement Query#setFetchSize in a JPA query).
The loading context will represent these loading options, and the mapper
will cast them into whatever concrete type they implement in order to
change the options.
Also, the loading context may allow us to add mapper-defined checks
whenever a query is executed (e.g. "is the session still open?").
Commit: 9c0ea2dfa8eeaa6dfa28e8a38fd60f892cfee06c
https://github.com/hibernate/hibernate-search/commit/9c0ea2dfa8eeaa6dfa28...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryResultLoadingOrTransformingIT.java
Log Message:
-----------
HSEARCH-3544 Use EasyMockSupport in SearchProjectionIT and IndexSearchQueryResultLoadingOrTransformingIT
This should make the code a bit more readable...
Commit: e0f6cdaa2459e137c760ebf67660a263a54e7d79
https://github.com/hibernate/hibernate-search/commit/e0f6cdaa2459e137c760...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch6SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch6SearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractorFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchResultExtractorFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchResultExtractorImpl.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryResultLoadingOrTransformingIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/GenericStubMappingSearchScope.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubLoadingContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMapperUtils.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingIndexManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingSearchScope.java
Log Message:
-----------
HSEARCH-3544 Make sure getProjectionHitMapper() is called every time a search query is executed
So that we can move the checks about the session being open to that
method, which will bring us one stop closer to removing
HibernateOrmSearchQuery.
Commit: 0ff4b98b8ac247b3b2308a4d6c9dbc40b5a345d8
https://github.com/hibernate/hibernate-search/commit/0ff4b98b8ac247b3b230...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchClientSpy.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/CallBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/CallQueue.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/CountWorkCall.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/IndexFieldAddBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/IndexWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/PushSchemaCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
Log Message:
-----------
HSEARCH-3544 Allow all mocked backend calls to throw an (expected) exception
Commit: 3db945dbd7100388dfc15bef8f5900a13ec4c1b2
https://github.com/hibernate/hibernate-search/commit/3db945dbd7100388dfc1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToHibernateOrmIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/context/impl/HibernateOrmLoadingContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQuery.java
Log Message:
-----------
HSEARCH-3544 Move the "session open" check from HibernateOrmSearchQuery to HibernateOrmLoadingContext
That's one less useful feature in HibernateOrmSearchQuery, so we're one
step closer to replacing it with a generic query type.
Commit: f15e64d654eca0644504e0db9553f8873a24d991
https://github.com/hibernate/hibernate-search/commit/f15e64d654eca0644504...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/SearchQueryResultDefinitionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/SearchQuery.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQuery.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
Log Message:
-----------
HSEARCH-3544 Move setFetchSize() out of HibernateOrmSearchQuery
That's one less useful feature in HibernateOrmSearchQuery, so we're one
step closer to replacing it with a generic query type.
The fetch size has been moved to the query DSL instead.
Commit: 8a650fec13d256663e6df1236ac60a47a16148d6
https://github.com/hibernate/hibernate-search/commit/8a650fec13d256663e6d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchIndexSearchQuery.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneIndexSearchQuery.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/IndexSearchQuery.java
A engine/src/main/java/org/hibernate/search/engine/search/query/spi/IndexSearchQueryExtension.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryBaseIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubIndexSearchQuery.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubLoadingContext.java
Log Message:
-----------
HSEARCH-3544 Add extensions for IndexSearchQuery
This will allow us to create JPA query adapters differently.
Commit: d80f49798aa73c46ae2501d36fe546e780dc170a
https://github.com/hibernate/hibernate-search/commit/d80f49798aa73c46ae25...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchIndexSearchQuery.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneIndexSearchQuery.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
A engine/src/main/java/org/hibernate/search/engine/search/query/SearchQuery.java
A engine/src/main/java/org/hibernate/search/engine/search/query/SearchResult.java
A engine/src/main/java/org/hibernate/search/engine/search/query/spi/AbstractSearchQuery.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/IndexSearchQuery.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/IndexSearchResult.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryFetchIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/query/SearchQuery.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/query/SearchResult.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/query/impl/JavaBeanSearchQuery.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/search/query/SearchQuery.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/SearchResult.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQuery.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchResult.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubIndexSearchQuery.java
Log Message:
-----------
HSEARCH-3544 Create generic SearchQuery/SearchResult interfaces in the engine module
These will be the superinterfaces for the yet-to-be-added
backend-specific query and result interfaces.
Commit: 44869fcb6ad9f9b14b7675c5b9ab08aeea82c4a9
https://github.com/hibernate/hibernate-search/commit/44869fcb6ad9f9b14b76...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToHibernateOrmIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToJpaIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/Search.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/context/impl/HibernateOrmLoadingContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/SearchQuery.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQuery.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapterExtension.java
Log Message:
-----------
HSEARCH-3544 Move the conversion from SearchQuery to ORM/JPA query to the Search util class
The syntax is a bit ugly, but that's the best way I could find to keep
this feature while otherwise relying on a generic SearchQuery interface
defined in the engine module.
Commit: 747383139b71bc927fae33b9d705ebe1155ef701
https://github.com/hibernate/hibernate-search/commit/747383139b71bc927fae...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M documentation/src/test/java/org/hibernate/search/documentation/gettingstarted/withhsearch/withanalysis/GettingStartedWithAnalysisIT.java
M documentation/src/test/java/org/hibernate/search/documentation/gettingstarted/withhsearch/withoutanalysis/GettingStartedWithoutAnalysisIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/directfieldmapping/HibernateOrmSimpleMappingIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/entityindexmapping/HibernateOrmIndexedIT.java
M documentation/src/test/java/org/hibernate/search/documentation/searchdsl/DslConverterIT.java
M documentation/src/test/java/org/hibernate/search/documentation/searchdsl/ProjectionConverterIT.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexSearchScope.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilder.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryBaseIT.java
M integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/service/AuthorService.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToHibernateOrmIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToJpaIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryIT.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/mapping/definition/FieldDefaultBridgeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/providedid/ProvidedIdIT.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/repository/indexsearch/IndexSearchDocumentRepositoryImpl.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/repository/indexsearch/IndexSearchLibraryRepositoryImpl.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/repository/indexsearch/IndexSearchPersonRepositoryImpl.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/SearchQueryResultDefinitionContext.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
R mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/query/SearchQuery.java
R mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/query/SearchResult.java
R mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/query/impl/JavaBeanSearchQuery.java
R mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/query/impl/JavaBeanSearchResult.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/Search.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/SearchQueryResultDefinitionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/SearchQuery.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/SearchResult.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQuery.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchResult.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchScopeDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/search/spi/PojoSearchScopeDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchQueryBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingQueryResultDefinitionContext.java
Log Message:
-----------
HSEARCH-3544 Replace mapper-specific query/result interfaces with the generic one defined in the engine
Commit: 7867055a8651403802b8b57dc35620cc79147426
https://github.com/hibernate/hibernate-search/commit/7867055a8651403802b8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchIndexSearchQuery.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQuery.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneIndexSearchQuery.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQuery.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexSearchScope.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/query/SearchQuery.java
A engine/src/main/java/org/hibernate/search/engine/search/query/SearchQueryExtension.java
R engine/src/main/java/org/hibernate/search/engine/search/query/spi/IndexSearchQuery.java
R engine/src/main/java/org/hibernate/search/engine/search/query/spi/IndexSearchQueryExtension.java
R engine/src/main/java/org/hibernate/search/engine/search/query/spi/IndexSearchResult.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilder.java
R engine/src/main/java/org/hibernate/search/engine/search/query/spi/SimpleIndexSearchResult.java
A engine/src/main/java/org/hibernate/search/engine/search/query/spi/SimpleSearchResult.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
R integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/search/query/ElasticsearchIndexSearchQueryIT.java
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/search/query/ElasticsearchSearchQueryIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/fieldtype/LuceneFieldContentIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneMatchSearchPredicateIT.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/indexnull/IndexNullAsValueIT.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/bool/BooleanSortAndRangePredicateIT.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/ExistsSearchPredicateIT.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/MatchIdSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchIdWithConverterSearchPredicateIT.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/PhraseSearchPredicateIT.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/predicate/SimpleQueryStringSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/WildcardSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/CompositeSearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldSearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryBaseIT.java
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryFetchIT.java
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/IndexSearchQueryResultLoadingOrTransformingIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryFetchIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortIT.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/work/IndexDocumentWorkExecutorIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexWorkExecutorIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexingIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapterExtension.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/SearchResultAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/StubBackendBehavior.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubIndexSearchQuery.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchQuery.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchQueryBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingQueryResultDefinitionContext.java
Log Message:
-----------
HSEARCH-3544 Replace IndexSearchQuery/IndexSearchResult with the generic API interfaces added a few commits back
Commit: d23a60dfc243bd8e8a73b68c2105d9b78bd78d66
https://github.com/hibernate/hibernate-search/commit/d23a60dfc243bd8e8a73...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/DocumentReferenceHitsBuilder.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/ListHitsBuilder.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/SearchHitsAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/SearchResultAssert.java
Log Message:
-----------
HSEARCH-3544 Add SearchHitsAssert for easier assertions on Search query hits
Commit: 0b2d6c6cb5bab89aca837bef2bc613aaf6c69565
https://github.com/hibernate/hibernate-search/commit/0b2d6c6cb5bab89aca83...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryFetchIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryIT.java
Log Message:
-----------
HSEARCH-3544 Move SearchQuery.fetch* tests to the backend TCK
Since mappers expose backend queries directly, there's no point in
testing this on the mapper side.
Commit: bfc14484b71eaf2bff334cad2bec601951ffd103
https://github.com/hibernate/hibernate-search/commit/bfc14484b71eaf2bff33...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
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/query/ElasticsearchSearchQueryContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/ElasticsearchSearchQueryResultContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryContextImpl.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/query/LuceneSearchQueryContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/LuceneSearchQueryResultContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexSearchScope.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/SearchQueryContextExtension.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/DefaultSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractDelegatingSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/SearchQueryContextImplementor.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryBaseIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/SearchQueryResultDefinitionContext.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/SearchQueryResultDefinitionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchScopeDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/search/spi/PojoSearchScopeDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingQueryResultDefinitionContext.java
Log Message:
-----------
HSEARCH-3544 Replace the query type with the hit type in the query DSL interfaces
This will allow us to override the query type in backend-specific
versions of these interfaces.
Commit: 20f58c85c1c674d3581d003d3d2bb8ef32dd5ac5
https://github.com/hibernate/hibernate-search/commit/20f58c85c1c674d3581d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
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/query/ElasticsearchSearchQueryContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/ElasticsearchSearchQuery.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/ElasticsearchSearchResult.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQuery.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchResultImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/query/ExtendedSearchQuery.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SimpleSearchResult.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
Log Message:
-----------
HSEARCH-3544 Introduce Elasticsearch-specific query and result types
And make them accessible everywhere we need them.
In particular, make sure that using the Elasticsearch version of the
query DSL will return the ES-specific query type.
Commit: c7f6228ed7a9a847520e329bcc3a76e3164defee
https://github.com/hibernate/hibernate-search/commit/c7f6228ed7a9a847520e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
Log Message:
-----------
HSEARCH-3544 Fix a typo in LuceneExtensionIT
Commit: be8cc4072ee9ef9a61e99ef7b0bf752b1fc54f0a
https://github.com/hibernate/hibernate-search/commit/be8cc4072ee9ef9a61e9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
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/query/LuceneSearchQueryContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/LuceneSearchQuery.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/LuceneSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQuery.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchResultImpl.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
Log Message:
-----------
HSEARCH-3544 Introduce Lucene-specific query and result types
And make them accessible everywhere we need them.
In particular, make sure that using the Lucene version of the
query DSL will return the Lucene-specific query type.
Commit: ed45e50b87f8859a1ae433919d71af743a074ec3
https://github.com/hibernate/hibernate-search/commit/ed45e50b87f8859a1ae4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
A engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryResultDefinitionContext.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/SearchScope.java
A mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/JavaBeanSearchQueryResultDefinitionContext.java
R mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/SearchQueryResultDefinitionContext.java
A mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/impl/JavaBeanSearchQueryResultDefinitionContextImpl.java
R mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/impl/SearchScopeImpl.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/SearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/SearchScope.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/HibernateOrmSearchQueryResultDefinitionContext.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/SearchQueryResultDefinitionContext.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/HibernateOrmSearchQueryResultDefinitionContextImpl.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/SearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/impl/SearchScopeImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/SearchSession.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingQueryResultDefinitionContext.java
Log Message:
-----------
HSEARCH-3544 Introduce a common super-interface for SearchQueryResultDefinitionContext
This is a first step toward unifying these interfaces so that we can use
backend-specific extensions there, too.
Commit: b92523c9abac3a0bca1c1f97e857d0bca038615f
https://github.com/hibernate/hibernate-search/commit/b92523c9abac3a0bca1c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexSearchScopeImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexSearchScope.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryResultDefinitionContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractDelegatingSearchQueryResultDefinitionContext.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/SearchScope.java
R mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/JavaBeanSearchQueryResultDefinitionContext.java
R mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/dsl/query/impl/JavaBeanSearchQueryResultDefinitionContextImpl.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/impl/SearchScopeImpl.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/SearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/dsl/query/impl/HibernateOrmSearchQueryResultDefinitionContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/impl/SearchScopeImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchScopeDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/search/spi/PojoSearchScopeDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/GenericStubMappingSearchScope.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingQueryResultDefinitionContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingSearchScope.java
Log Message:
-----------
HSEARCH-3544 Move implementation base of SearchQueryResultDefinitionContext to the engine module
So that we can use these classes to create backend-specific extensions.
Commit: 26014252f81187d702443665be20280781c12969
https://github.com/hibernate/hibernate-search/commit/26014252f81187d70244...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/ElasticsearchExtension.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/ElasticsearchSearchQueryResultDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryResultDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/LuceneExtension.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/LuceneSearchQueryResultDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/dsl/query/impl/LuceneSearchQueryResultDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilderFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/SearchQueryContextExtension.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/SearchQueryResultDefinitionContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryResultDefinitionContext.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractDelegatingSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractDelegatingSearchQueryResultDefinitionContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractSearchQueryContext.java
A engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractSearchQueryResultDefinitionContext.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/ElasticsearchExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryBaseIT.java
Log Message:
-----------
HSEARCH-3544 Move the query DSL context extension point to before the result type is defined
... so that projections lambdas can also use the backend-specific
projections when this extension point is used.
See the changes to ElasticsearchExtensionIT and LuceneExtensionIT.
Commit: 61b9eaa678f2e157b5075637570dd71c6f4dccbe
https://github.com/hibernate/hibernate-search/commit/61b9eaa678f2e157b507...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/impl/DefaultSearchQueryContext.java
M engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/AbstractSearchQueryContext.java
R engine/src/main/java/org/hibernate/search/engine/search/dsl/query/spi/SearchQueryContextImplementor.java
Log Message:
-----------
HSEARCH-3544 Remove the now-unnecessary SearchQueryContextImplementor interface
Commit: 712be8455a370e94da89fa6bf17d1d5cc973cd48
https://github.com/hibernate/hibernate-search/commit/712be8455a370e94da89...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/query/SearchQuery.java
Log Message:
-----------
HSEARCH-3544 Add an import of SearchException in SearchQuery
Just to make the javadoc slightly more readable.
Compare: https://github.com/hibernate/hibernate-search/compare/de02232c1413...712b...
5 years, 7 months