[hibernate/hibernate-validator] df2fe2: HV-1774 Test arbitrary code injection through buil...
by Yoann Rodière
Branch: refs/heads/6.0
Home: https://github.com/hibernate/hibernate-validator
Commit: df2fe2c1e42bad5b12ab967d5d0db3cf49ac7af9
https://github.com/hibernate/hibernate-validator/commit/df2fe2c1e42bad5b1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
M engine/src/test/java/org/hibernate/validator/test/constraints/ConstraintValidatorContextTest.java
Log Message:
-----------
HV-1774 Test arbitrary code injection through buildConstraintViolationWithTemplate()
Commit: 29bd0f42bf63e28d9a71adef02af67b319144576
https://github.com/hibernate/hibernate-validator/commit/29bd0f42bf63e28d9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/ELState.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorTest.java
Log Message:
-----------
HV-1774 Do not interpret '$\A{1+1}' in message templates
Commit: 16b77f08c2e9983f33538688107d6570986e31c1
https://github.com/hibernate/hibernate-validator/commit/16b77f08c2e9983f3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
A engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/AbstractTokenCollectorTest.java
A engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorMessageExpressionTest.java
A engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorMessageParameterTest.java
R engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorTest.java
Log Message:
-----------
HV-1774 Add a few tests to demonstrate the behavior of TokenCollector
Commit: 4b9f2a1a3e1c67fbd29a7fc710c611d7aca6eab9
https://github.com/hibernate/hibernate-validator/commit/4b9f2a1a3e1c67fbd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/ELState.java
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/InterpolationTermState.java
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/MessageState.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1774 Fix an invalid error message for unbalanced '{'/'}'
Compare: https://github.com/hibernate/hibernate-validator/compare/5903f446b6b2...4...
4 years, 6 months
[hibernate/hibernate-validator] 438a0f: HV-1774 Test arbitrary code injection through buil...
by Yoann Rodière
Branch: refs/heads/6.1
Home: https://github.com/hibernate/hibernate-validator
Commit: 438a0fc9bd7e30b4de2b5ba5a96e7f070e3d88e9
https://github.com/hibernate/hibernate-validator/commit/438a0fc9bd7e30b4d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
M engine/src/test/java/org/hibernate/validator/test/constraints/ConstraintValidatorContextTest.java
Log Message:
-----------
HV-1774 Test arbitrary code injection through buildConstraintViolationWithTemplate()
Commit: 6ae28a1bc8f7ccb208fa004bdb7c6da569be8a59
https://github.com/hibernate/hibernate-validator/commit/6ae28a1bc8f7ccb20...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/ELState.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorTest.java
Log Message:
-----------
HV-1774 Do not interpret '$\A{1+1}' in message templates
Commit: d3b39a74bdc18ea6b112b1e9e6a8f77550066381
https://github.com/hibernate/hibernate-validator/commit/d3b39a74bdc18ea6b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
A engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/AbstractTokenCollectorTest.java
A engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorMessageExpressionTest.java
A engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorMessageParameterTest.java
R engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorTest.java
Log Message:
-----------
HV-1774 Add a few tests to demonstrate the behavior of TokenCollector
Commit: 5415140b2aea35fa4eb5e0a07323a9f23c04aeda
https://github.com/hibernate/hibernate-validator/commit/5415140b2aea35fa4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-06 (Wed, 06 May 2020)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/ELState.java
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/InterpolationTermState.java
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/MessageState.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1774 Fix an invalid error message for unbalanced '{'/'}'
Compare: https://github.com/hibernate/hibernate-validator/compare/c1b392f750fc...5...
4 years, 6 months
[hibernate/hibernate-validator] 93c027: HV-1774 Test arbitrary code injection through buil...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: 93c027b954d4ccce1ad82b2f5e27e22357757fa8
https://github.com/hibernate/hibernate-validator/commit/93c027b954d4ccce1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M engine/src/test/java/org/hibernate/validator/test/constraints/ConstraintValidatorContextTest.java
Log Message:
-----------
HV-1774 Test arbitrary code injection through buildConstraintViolationWithTemplate()
Commit: 2ea22bfdd000f870c6a0eb8660c646c028267116
https://github.com/hibernate/hibernate-validator/commit/2ea22bfdd000f870c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/ELState.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorTest.java
Log Message:
-----------
HV-1774 Do not interpret '$\A{1+1}' in message templates
Commit: c7c904db1b146d24e25927b613155d130bbe40d1
https://github.com/hibernate/hibernate-validator/commit/c7c904db1b146d24e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/AbstractTokenCollectorTest.java
A engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorMessageExpressionTest.java
A engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorMessageParameterTest.java
R engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/TokenCollectorTest.java
Log Message:
-----------
HV-1774 Add a few tests to demonstrate the behavior of TokenCollector
Commit: ded0085e38f70df5891b25092d90ffd25985fb5f
https://github.com/hibernate/hibernate-validator/commit/ded0085e38f70df58...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/ELState.java
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/InterpolationTermState.java
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/parser/MessageState.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1774 Fix an invalid error message for unbalanced '{'/'}'
Compare: https://github.com/hibernate/hibernate-validator/compare/628c0327dee8...d...
4 years, 6 months
[hibernate/hibernate-orm] 08bf2b: HHH-13890 : Add support for custom EventType and l...
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 08bf2bb906680df2daef95664688a1c56d76de17
https://github.com/hibernate/hibernate-orm/commit/08bf2bb906680df2daef956...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-04-22 (Wed, 22 Apr 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/SessionFactoryBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryImplementor.java
M hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerGroupImpl.java
M hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerRegistryImpl.java
R hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerServiceInitiator.java
M hibernate-core/src/main/java/org/hibernate/event/service/internal/PostCommitEventListenerGroupImpl.java
M hibernate-core/src/main/java/org/hibernate/event/service/spi/EventListenerRegistry.java
A hibernate-core/src/main/java/org/hibernate/event/spi/EventEngine.java
A hibernate-core/src/main/java/org/hibernate/event/spi/EventEngineContributions.java
A hibernate-core/src/main/java/org/hibernate/event/spi/EventEngineContributor.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EventType.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/event/internal/CallbacksFactory.java
M hibernate-core/src/main/java/org/hibernate/service/internal/SessionFactoryServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/service/internal/StandardSessionFactoryServiceInitiators.java
R hibernate-core/src/test/java/org/hibernate/event/CustomEventTypeTest.java
M hibernate-core/src/test/java/org/hibernate/event/service/internal/EventListenerDuplicationStrategyTest.java
R hibernate-core/src/test/java/org/hibernate/test/events/CustomEventTypeRegisterListenerTest.java
A hibernate-core/src/test/java/org/hibernate/test/events/EventEngineContributionsTests.java
R hibernate-core/src/test/java/org/hibernate/test/events/EventTypeListenerRegistryConcurrencyTest.java
Log Message:
-----------
HHH-13890 : Add support for custom EventType and listeners - EventEngine
Commit: 43936ed1aae4e1168ecaa488e491c362ddba68da
https://github.com/hibernate/hibernate-orm/commit/43936ed1aae4e1168ecaa48...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-04-22 (Wed, 22 Apr 2020)
Changed paths:
M build.gradle
Log Message:
-----------
HHH-13968 Version mismatch in forbiddenapis version
Commit: 68e8ad641ad33f41eb6821cca53a35947899d687
https://github.com/hibernate/hibernate-orm/commit/68e8ad641ad33f41eb6821c...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-04-23 (Thu, 23 Apr 2020)
Changed paths:
M gradle/java-module.gradle
Log Message:
-----------
HHH-13972 Disable the ForbiddenAPI classloader cache
Commit: 035c0a37e6c2862ffece8cec39d276f54565bc96
https://github.com/hibernate/hibernate-orm/commit/035c0a37e6c2862ffece8ce...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-04-23 (Thu, 23 Apr 2020)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-13977 Upgrade to Agroal 1.8
Commit: ae4e6ef729d10cacae5aae53050c64c229e1f1b5
https://github.com/hibernate/hibernate-orm/commit/ae4e6ef729d10cacae5aae5...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-04-24 (Fri, 24 Apr 2020)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-13981 Upgrade to Jandex 2.1.3.Final
Commit: 859ffb608a3ba4cc24b8344874e03faeff148ef4
https://github.com/hibernate/hibernate-orm/commit/859ffb608a3ba4cc24b8344...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-04-28 (Tue, 28 Apr 2020)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/id/SequenceHiLoGeneratorNoIncrementTest.java
A hibernate-core/src/test/java/org/hibernate/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java
Log Message:
-----------
HHH-13986 SequenceHiLoGeneratorNoIncrementTest is not testing the right Optimiser
Commit: 250160d923090637f1483e7d02421e3a11f9a4a0
https://github.com/hibernate/hibernate-orm/commit/250160d923090637f1483e7...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-04-29 (Wed, 29 Apr 2020)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java
Log Message:
-----------
HHH-13986 Fix test failure on MariaDB
Commit: 438f6c950cc4d29ea24e442090f15b6ee2f61c75
https://github.com/hibernate/hibernate-orm/commit/438f6c950cc4d29ea24e442...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-13992 Upgrade to ByteBuddy 1.10.10
Commit: 4d0bd0f080ffe80e759736eb84fb408613e3de71
https://github.com/hibernate/hibernate-orm/commit/4d0bd0f080ffe80e759736e...
Author: barreiro <lbbbarreiro(a)gmail.com>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/ConnectionReleaseMode.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/AbstractLogicalConnectionImplementor.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionManagedImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/LogicalConnectionImplementor.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/PhysicalConnectionHandlingMode.java
A hibernate-core/src/test/java/org/hibernate/test/connections/BeforeCompletionReleaseTest.java
Log Message:
-----------
HHH-13976 Introduce BEFORE_TRANSACTION_COMPLETION release mode
Commit: 41cd5ab35946811608356695390d8d1a9db74a02
https://github.com/hibernate/hibernate-orm/commit/41cd5ab3594681160835669...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionManagedImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/LogicalConnectionImplementor.java
M hibernate-core/src/test/java/org/hibernate/test/connections/BeforeCompletionReleaseTest.java
Log Message:
-----------
HHH-13976 Some javadoc clarifications and code style adjustments
Commit: 49405effceec9cebb02812815dce62d3a4651b64
https://github.com/hibernate/hibernate-orm/commit/49405effceec9cebb028128...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/DefaultDialectSelector.java
A hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/LazyServiceResolver.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorImpl.java
A hibernate-core/src/test/java/org/hibernate/test/strategyselectors/DefaultDialectSelectorTest.java
Log Message:
-----------
HHH-13993 Bootstrap analysis: avoid initializing many Dialect classes
Commit: 922ec04422ea7af2c40740549dd94a2a56e6f238
https://github.com/hibernate/hibernate-orm/commit/922ec04422ea7af2c407405...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/DefaultJtaPlatformSelector.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorBuilder.java
A hibernate-core/src/test/java/org/hibernate/test/strategyselectors/JtaPlatformSelectorTest.java
Log Message:
-----------
HHH-13994 Bootstrap analysis: avoid initializing unused JtaPlatform classes
Commit: 2c12ca401dcc55b296522a54135169c6e5fe57e4
https://github.com/hibernate/hibernate-orm/commit/2c12ca401dcc55b296522a5...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/StandardBasicTypes.java
Log Message:
-----------
HHH-13995 Remove dead code from StandardBasicTypes
Commit: 5d572cc8764aad48f3f5f477639d1e856c72317b
https://github.com/hibernate/hibernate-orm/commit/5d572cc8764aad48f3f5f47...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M gradle/java-module.gradle
M gradle/libraries.gradle
M hibernate-core/src/main/java/org/hibernate/ConnectionReleaseMode.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryBuilderImpl.java
A hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/DefaultDialectSelector.java
A hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/DefaultJtaPlatformSelector.java
A hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/LazyServiceResolver.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryImplementor.java
M hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerGroupImpl.java
M hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerRegistryImpl.java
R hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerServiceInitiator.java
M hibernate-core/src/main/java/org/hibernate/event/service/internal/PostCommitEventListenerGroupImpl.java
M hibernate-core/src/main/java/org/hibernate/event/service/spi/EventListenerRegistry.java
A hibernate-core/src/main/java/org/hibernate/event/spi/EventEngine.java
A hibernate-core/src/main/java/org/hibernate/event/spi/EventEngineContributions.java
A hibernate-core/src/main/java/org/hibernate/event/spi/EventEngineContributor.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EventType.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/event/internal/CallbacksFactory.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/AbstractLogicalConnectionImplementor.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionManagedImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/LogicalConnectionImplementor.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/PhysicalConnectionHandlingMode.java
M hibernate-core/src/main/java/org/hibernate/service/internal/SessionFactoryServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/service/internal/StandardSessionFactoryServiceInitiators.java
R hibernate-core/src/test/java/org/hibernate/event/CustomEventTypeTest.java
M hibernate-core/src/test/java/org/hibernate/event/service/internal/EventListenerDuplicationStrategyTest.java
M hibernate-core/src/test/java/org/hibernate/id/SequenceHiLoGeneratorNoIncrementTest.java
A hibernate-core/src/test/java/org/hibernate/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java
A hibernate-core/src/test/java/org/hibernate/test/connections/BeforeCompletionReleaseTest.java
R hibernate-core/src/test/java/org/hibernate/test/events/CustomEventTypeRegisterListenerTest.java
A hibernate-core/src/test/java/org/hibernate/test/events/EventEngineContributionsTests.java
R hibernate-core/src/test/java/org/hibernate/test/events/EventTypeListenerRegistryConcurrencyTest.java
A hibernate-core/src/test/java/org/hibernate/test/strategyselectors/DefaultDialectSelectorTest.java
A hibernate-core/src/test/java/org/hibernate/test/strategyselectors/JtaPlatformSelectorTest.java
Log Message:
-----------
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_37
Commit: 35a4c42347050472b171c7d7c068a92c062fa268
https://github.com/hibernate/hibernate-orm/commit/35a4c42347050472b171c7d...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/DefaultDialectSelector.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorBuilder.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryImplementor.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EventType.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/test/java/org/hibernate/test/strategyselectors/DefaultDialectSelectorTest.java
Log Message:
-----------
Fix merge compilation errors
Compare: https://github.com/hibernate/hibernate-orm/compare/e38a4de536f3...35a4c42...
4 years, 6 months
[hibernate/hibernate-search] 872647: HSEARCH-3273 Add API to define and populate dynami...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 87264771558ee6a9794798ddfc1b23e2f06b7156
https://github.com/hibernate/hibernate-search/commit/87264771558ee6a97947...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchDocumentObjectBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneDocumentBuilder.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/DocumentElement.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaElement.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaFieldTemplateOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/spi/NoOpDocumentElement.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubDocumentElement.java
Log Message:
-----------
HSEARCH-3273 Add API to define and populate dynamic fields
Commit: fae9e773588dd2e13e8b043a1aff660c2e0608dd
https://github.com/hibernate/hibernate-search/commit/fae9e773588dd2e13e8b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/ExcludeAllIndexSchemaNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/NotifyingNestingContext.java
M engine/src/test/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaManagerNestingContextTest.java
Log Message:
-----------
HSEARCH-3273 Better document IndexSchemaNestingContext
Commit: d90bf77c6b667b86a58026ce08e87ec8dc4dfb5f
https://github.com/hibernate/hibernate-search/commit/d90bf77c6b667b86a580...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A util/common/src/main/java/org/hibernate/search/util/common/pattern/spi/SimpleGlobPattern.java
A util/common/src/test/java/org/hibernate/search/util/common/pattern/spi/SimpleGlobPatternTest.java
Log Message:
-----------
HSEARCH-3273 Add an internal glob pattern implementation
Commit: 6a0228bd41aba533f7c029ae95f679b0fe98dc34
https://github.com/hibernate/hibernate-search/commit/6a0228bd41aba533f7c0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/AbstractIndexBindingContext.java
Log Message:
-----------
HSEARCH-3273 Remove an obsolete TODO
Commit: 041b29666e54699a47c19e29ce98b0b5631359f6
https://github.com/hibernate/hibernate-search/commit/041b29666e54699a47c1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/ExcludeAllIndexSchemaNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/NotifyingNestingContext.java
M engine/src/test/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaManagerNestingContextTest.java
Log Message:
-----------
HSEARCH-3273 Support dynamic fields in IndexSchemaNestingContext
Commit: 256c97b26e473462a7b1189bec6f84ce82d71ac9
https://github.com/hibernate/hibernate-search/commit/256c97b26e473462a7b1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/spi/IndexSchemaObjectNodeBuilder.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubDocumentElement.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/StubIndexSchemaNode.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/AbstractStubIndexSchemaObjectNodeBuilder.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaFieldTemplateNodeBuilder.java
Log Message:
-----------
HSEARCH-3273 Implement support for dynamic fields in the engine
Commit: 2ee114a2f9aed8a3a05d7a9537a6becba69a6507
https://github.com/hibernate/hibernate-search/commit/2ee114a2f9aed8a3a05d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectNode.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/MetadataFields.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/common/impl/MetadataFields.java
A engine/src/main/java/org/hibernate/search/engine/backend/common/spi/FieldPaths.java
Log Message:
-----------
HSEARCH-3273 Move some field path utils to the engine
Commit: e2592bc2a4b2526b93e5e8dadadf6dc784df688b
https://github.com/hibernate/hibernate-search/commit/e2592bc2a4b2526b93e5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/DynamicTemplate.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/DynamicTemplateJsonAdapterFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/NamedDynamicTemplate.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/NamedDynamicTemplateJsonAdapterFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/RootTypeMapping.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/RootTypeMappingJsonAdapterFactory.java
Log Message:
-----------
HSEARCH-3273 Add low-level representation of Elasticsearch dynamic mappings
Commit: 041013984ddad81575c3378facc03e1f36c4ad33
https://github.com/hibernate/hibernate-search/commit/041013984ddad81575c3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/impl/ElasticsearchIndexFieldType.java
Log Message:
-----------
HSEARCH-3273 Split schema node creation from schema node collection for Elasticsearch
Commit: 4bbd5263928d9ed71d5b231f4dad624a1249944d
https://github.com/hibernate/hibernate-search/commit/4bbd5263928d9ed71d5b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexFieldReference.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldNode.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/aggregation/impl/ElasticsearchSearchAggregationBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilderFactoryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortBuilderFactoryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchSimpleStandardFieldTypeOptionsStep.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/impl/ElasticsearchIndexFieldType.java
Log Message:
-----------
HSEARCH-3273 Keep ElasticsearchIndexFieldType instances at runtime
Instead of just copying their content to the schema node.
We'll need to keep them at runtime anyway if we want to implement
templates.
Commit: 98afd797a03cade8da09260a3b87a92950ad53d5
https://github.com/hibernate/hibernate-search/commit/98afd797a03cade8da09...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectNode.java
Log Message:
-----------
HSEARCH-3273 Do not rely on pre-computed attributes in ElasticsearchIndexSchemaObjectNode constructor
... so that we can use the same constructor in templates when creating
dynamic fields.
Commit: acbdb7049b6d2635f20a24b2cdfd283a28b2e5f2
https://github.com/hibernate/hibernate-search/commit/acbdb7049b6d2635f20a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchDocumentObjectBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexFieldReference.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexObjectFieldReference.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaFieldTemplateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldTemplateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldNodeBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldTemplateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaRootNodeBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/AbstractElasticsearchIndexSchemaFieldTemplate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldNode.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldTemplate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaNodeCollector.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectFieldTemplate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectNode.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/DataMatchingTypes.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/DynamicTemplate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchScalarFieldTypeOptionsStep.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchGeoPointIndexFieldTypeOptionsStep.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchNativeIndexFieldTypeOptionsStepImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchStringIndexFieldTypeOptionsStep.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/impl/ElasticsearchIndexFieldType.java
M engine/src/main/java/org/hibernate/search/engine/backend/common/spi/FieldPaths.java
M engine/src/main/java/org/hibernate/search/engine/reporting/impl/EngineEventContextMessages.java
M engine/src/main/java/org/hibernate/search/engine/reporting/spi/EventContexts.java
Log Message:
-----------
HSEARCH-3273 Implement support for dynamic fields in the Elasticsearch backend
Commit: 8a6001493da724aa34c7d8048343a355619244f1
https://github.com/hibernate/hibernate-search/commit/8a6001493da724aa34c7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/impl/LuceneIndexFieldType.java
Log Message:
-----------
HSEARCH-3273 Split schema node creation from schema node collection for Lucene
Commit: 341270516ba3ea4f4e2aee364c81444c4e710e52
https://github.com/hibernate/hibernate-search/commit/341270516ba3ea4f4e2a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldNode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/aggregation/impl/LuceneNativeFieldAggregationBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneFieldFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneNativeIndexFieldTypeOptionsStep.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNativeFieldPredicateBuilderFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneNativeFieldSortBuilderFactory.java
Log Message:
-----------
HSEARCH-3273 Rely on builder factories rather than schema nodes to declare predicates/sorts/etc. unsupported for Lucene native fields
This way, all field types work the same way, which is necessary for the
next commit.
Commit: 329bda271f08a1c9bf7e26d21f63d430fed6f54e
https://github.com/hibernate/hibernate-search/commit/329bda271f08a1c9bf7e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneDocumentBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldNode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/LuceneSearchAggregationBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionBuilderFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/impl/LuceneIndexFieldType.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneObjectPredicateBuilderFactoryImpl.java
Log Message:
-----------
HSEARCH-3273 Keep LuceneIndexFieldType instances at runtime
Instead of just copying their content to the schema node.
We'll need to keep them at runtime anyway if we want to implement
templates.
Commit: 6409e63c1f3eaedaf606fb0303281f47106e3189
https://github.com/hibernate/hibernate-search/commit/6409e63c1f3eaedaf606...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
Log Message:
-----------
HSEARCH-3273 Fix a misnamed constructor parameter in LuceneIndexSchemaObjectNode
Commit: 095953a6132fd6e8d5083bdeab1ed603b4dd8ab2
https://github.com/hibernate/hibernate-search/commit/095953a6132fd6e8d508...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
Log Message:
-----------
HSEARCH-3273 Do not rely on pre-computed attributes in LuceneIndexSchemaObjectNode constructor
... so that we can use the same constructor in templates when creating
dynamic fields.
Commit: 6db999718bb80f194bb5b7d39e9663ba116cc07c
https://github.com/hibernate/hibernate-search/commit/6db999718bb80f194bb5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaRootNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaNodeCollector.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexManagerBackendContext.java
Log Message:
-----------
HSEARCH-3273 Use an analyzer backed by LuceneIndexModel for indexing
So that dynamic fields will be correctly handled.
Commit: eda52176d4ec591db564db7bbf7e023b12796b44
https://github.com/hibernate/hibernate-search/commit/eda52176d4ec591db564...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneDocumentBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneNonFlattenedDocumentBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneFlattenedObjectDocumentBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexEntryFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexObjectFieldReference.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneNestedObjectDocumentBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneRootDocumentBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaFieldTemplateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldTemplateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldTemplateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaRootNodeBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/AbstractLuceneIndexSchemaFieldTemplate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldNode.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldTemplate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaNodeCollector.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectFieldTemplate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexManagerBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/AbstractLuceneIndexFieldTypeOptionsStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/AbstractLuceneNumericIndexFieldTypeOptionsStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneGeoPointIndexFieldTypeOptionsStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneNativeIndexFieldTypeOptionsStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexFieldTypeOptionsStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/impl/LuceneIndexFieldType.java
Log Message:
-----------
HSEARCH-3273 Implement support for dynamic fields in the Lucene backend
Commit: 1712aab23d6a2e84f46b7de6e71fbbe36c03c06f
https://github.com/hibernate/hibernate-search/commit/1712aab23d6a2e84f46b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/ExcludeAllIndexSchemaNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/spi/IndexSchemaObjectNodeBuilder.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/model/spi/IndexFieldFilter.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/model/spi/IndexFieldInclusion.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/AbstractIndexBindingContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/NotifyingNestingContext.java
M engine/src/test/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaManagerNestingContextTest.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubDocumentElement.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubIndexFieldReference.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubIndexObjectFieldReference.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/AbstractStubIndexSchemaObjectNodeBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaFieldNodeBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaObjectFieldNodeBuilder.java
Log Message:
-----------
HSEARCH-3273 Represent field inclusion with a dedicated argument in IndexSchemaNestingContext and field builders
Because it's simpler, but also (mainly) because we'll need this
representation in the next commits.
Commit: f14506546c2bedfb0e127ec42153c342581d4ec0
https://github.com/hibernate/hibernate-search/commit/f14506546c2bedfb0e12...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchDocumentObjectBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexFieldReference.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexObjectFieldReference.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaFieldTemplateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldTemplateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldTemplateBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaRootNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/AbstractElasticsearchIndexSchemaFieldTemplate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldNode.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldTemplate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaNodeCollector.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectFieldTemplate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectNode.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchScopeModel.java
Log Message:
-----------
HSEARCH-3273 Add even excluded fields to the internal Hibernate Search schema for Elasticsearch
We still don't add them to the Elasticsearch schema, but we need to have
them in the Hibernate Search schema so as to support calls to
DocumentElement#addValue(String, Object) or
DocumentElement#addObject(String): in this case, we need to know the
field actually exists so as not to throw an exception, even if we will
ultimately not include its value in the document.
Commit: 7e5ee66dd7ec1238bdea616081e4db893f2800b9
https://github.com/hibernate/hibernate-search/commit/7e5ee66dd7ec1238bdea...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneDocumentBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexFieldReference.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexObjectFieldReference.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaFieldTemplateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldTemplateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldTemplateBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/AbstractLuceneIndexSchemaFieldTemplate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldNode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldTemplate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectFieldTemplate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/scope/model/impl/LuceneScopeModel.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneObjectPredicateBuilderFactoryImpl.java
Log Message:
-----------
HSEARCH-3273 Add even excluded fields to the internal Hibernate Search schema for Lucene
We need to havethem in the Hibernate Search schema so as to support
calls to DocumentElement#addValue(String, Object) or
DocumentElement#addObject(String): in this case, we need to know the
field actually exists so as not to throw an exception, even if we will
ultimately not include its value in the document.
Commit: fe3acf42c5077531b93ddb83f489dbde9a40d13f
https://github.com/hibernate/hibernate-search/commit/fe3acf42c5077531b93d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBridgeBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/TypeBridgeBaseIT.java
Log Message:
-----------
HSEARCH-3273 Clean up tests related to field definition in bridges
Commit: 9739631e2cf25baac2c91ba6d261c3ef8f204ede
https://github.com/hibernate/hibernate-search/commit/9739631e2cf25baac2c9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBridgeBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/TypeBridgeBaseIT.java
Log Message:
-----------
HSEARCH-3273 Test field template definition in bridges
Commit: c6057250b5d885071c39aa030f4f231173701574
https://github.com/hibernate/hibernate-search/commit/c6057250b5d885071c39...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentModelDslIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/IndexSchemaElementFieldIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/IndexSchemaElementTypeIT.java
Log Message:
-----------
HSEARCH-3273 More clearly separate tests of the field definition and type definition DSLs
Commit: b3e1ef46a8eb386890e8af206d7d215db0ec7351
https://github.com/hibernate/hibernate-search/commit/b3e1ef46a8eb386890e8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/SimpleMappedIndex.java
Log Message:
-----------
HSEARCH-3273 Fix obsolete javadoc in SimpleMappedIndex
Commit: e3a793cc394148931a9abad3ed64864b87212ed4
https://github.com/hibernate/hibernate-search/commit/e3a793cc394148931a9a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementMultiValuedIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/IndexSchemaElementFieldIT.java
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/SimpleMappedIndex.java
Log Message:
-----------
HSEARCH-3273 Test all field types where relevant in tests of schema/document APIs
Commit: 50849bfc18c026b466de29f90606eab67d670631
https://github.com/hibernate/hibernate-search/commit/50849bfc18c026b466de...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/IndexSchemaElementFieldTemplateIT.java
Log Message:
-----------
HSEARCH-3273 Test error cases when defining field templates
Commit: 5327a46d7aed15dc985c3817affa3a39b6d66b97
https://github.com/hibernate/hibernate-search/commit/5327a46d7aed15dc985c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexingFieldTypesIT.java
Log Message:
-----------
HSEARCH-3273 Convert IndexingFieldTypesIT to the more recent testing framework APIs
Commit: 84e4d4197c74d3019652354e2e0710c15b1e7b07
https://github.com/hibernate/hibernate-search/commit/84e4d4197c74d3019652...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementDynamicFieldNameIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementFieldReferenceIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementStaticFieldNameIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexingFieldTypesIT.java
Log Message:
-----------
HSEARCH-3273 Test indexing when fields are referenced by their path (static or dynamic)
Commit: 812575772eff97a752fb1e49c1ab962fddbbcd14
https://github.com/hibernate/hibernate-search/commit/812575772eff97a752fb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/SingleFieldAggregationBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/IndexFieldLocation.java
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/IndexFieldStructure.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TestedFieldStructure.java
Log Message:
-----------
HSEARCH-3273 Wrap field structure parameters with a single object in integration tests
Just in case we need to expand this to more tests.
Commit: e69124a1069977458c040f2046f4b780d49130d0
https://github.com/hibernate/hibernate-search/commit/e69124a1069977458c04...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/SingleFieldAggregationBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/IndexFieldLocation.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TestedFieldStructure.java
Log Message:
-----------
HSEARCH-3273 Simplify IndexFieldLocation to mainly test multi-valued nested object fields
Nested object fields are only useful when they are multi-valued, so
let's not bother complicating the tests just to test single-valued
nested fields.
Commit: 66710500a5438cc99abea2040067869f7ca7b9b4
https://github.com/hibernate/hibernate-search/commit/66710500a5438cc99abe...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/FieldTemplateIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/ObjectFieldTemplateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TestedFieldStructure.java
Log Message:
-----------
HSEARCH-3273 Test indexing and searching dynamic fields created through field templates
Commit: 24e17f32de9b52642245243242c3c393190df887
https://github.com/hibernate/hibernate-search/commit/24e17f32de9b52642245...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/LuceneTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/ObjectFieldTemplateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-3273 Disable some tests relative to exists() predicate with dynamic fields for Lucene
See https://hibernate.atlassian.net/browse/HSEARCH-3905
Commit: 00f4656b2593a85faadb46b77d03e3bb404d5d93
https://github.com/hibernate/hibernate-search/commit/00f4656b2593a85faadb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/AnalysisDefinitionValidator.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/AnalysisJsonElementEquivalence.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/AnalysisJsonElementUnorderedArrayEquivalence.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/AnalysisParameterEquivalenceRegistry.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/IndexAliasDefinitionValidator.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/JsonElementEquivalence.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/JsonElementUnorderedArrayEquivalence.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/JsonElementValidator.java
Log Message:
-----------
HSEARCH-3273 Extract the validator for JsonElements to its own class
We'll need it when validating templates, too.
Commit: e2f21903d5a0785b2f2fc8f91005e8bd7a85bfae
https://github.com/hibernate/hibernate-search/commit/e2f21903d5a0785b2f2f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/ElasticsearchEventContextMessages.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/ElasticsearchEventContexts.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/DynamicTemplateValidator.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/ElasticsearchValidationMessages.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/NamedDynamicTemplateListValidator.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/RootTypeMappingValidator.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/ValidationContextType.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/ValidationErrorCollector.java
Log Message:
-----------
HSEARCH-3273 Validate field templates as part of the Elasticsearch schema validation
Commit: 895cae80377c209cdf867121c0c7a4a9a862efc0
https://github.com/hibernate/hibernate-search/commit/895cae80377c209cdf86...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationMappingFieldTemplateIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/FailureReportUtils.java
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/StubMappedIndex.java
Log Message:
-----------
HSEARCH-3273 Test validation of field templates in Elasticsearch schema management
Commit: c903bc07ce97dfb90d86321541dfb623436726a0
https://github.com/hibernate/hibernate-search/commit/c903bc07ce97dfb90d86...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerCreationMappingBaseIT.java
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerCreationMappingFieldTemplatesIT.java
R integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerCreationMappingIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerTestUtils.java
Log Message:
-----------
HSEARCH-3273 Test creation of field templates in Elasticsearch schema management
Commit: d16668c14a792b23f409dd0c91b7706c76191e5c
https://github.com/hibernate/hibernate-search/commit/d16668c14a792b23f409...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingBaseIT.java
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingFieldTemplateIT.java
R integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingIT.java
Log Message:
-----------
HSEARCH-3273 Test update of field templates in Elasticsearch schema management
Commit: 0f3cd99eacb81355f3091d1a296b45ac64d077a5
https://github.com/hibernate/hibernate-search/commit/0f3cd99eacb81355f309...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M documentation/src/main/asciidoc/mapper-orm-bridge-index-field-dsl.asciidoc
M documentation/src/main/asciidoc/mapper-orm-mapping.asciidoc
A documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/Book.java
A documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/DocumentModelDslDynamicIT.java
A documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/MultiTypeUserMetadataBinder.java
A documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/UserMetadataBinder.java
Log Message:
-----------
HSEARCH-3273 Document dynamic fields
Commit: f08e1eb0d97bd78afefbf659ae19d6fc39ee4233
https://github.com/hibernate/hibernate-search/commit/f08e1eb0d97bd78afefb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M documentation/src/main/asciidoc/mapper-orm-mapping.asciidoc
Log Message:
-----------
HSEARCH-3273 Document that using an @IndexedEmbedded prefix that does not end with a dot will break addValue(String, Object)/addObject(String)
We really need to deprecate this "prefix" feature;
see https://hibernate.atlassian.net/browse/HSEARCH-3097
Commit: d197f4f5a9e2fcfc71c2692bb612e67b0695fcce
https://github.com/hibernate/hibernate-search/commit/d197f4f5a9e2fcfc71c2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexFieldReference.java
Log Message:
-----------
HSEARCH-3273 Sonar: Methods should not be empty
Commit: 420e1c62ac59f414f68ac59e729aa267adbee746
https://github.com/hibernate/hibernate-search/commit/420e1c62ac59f414f68a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectFieldTemplate.java
Log Message:
-----------
HSEARCH-3273 Fix some obsolete ticket numbers in TODOs
Commit: 88c5462a2d704ea04015edfdfedad15bc2c6a2bf
https://github.com/hibernate/hibernate-search/commit/88c5462a2d704ea04015...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
Log Message:
-----------
HSEARCH-3273 Sonar: Loops should not contain more than a single "break" or "continue" statement
Commit: 305be11023028e3b0921a24bd677a90c56a4c451
https://github.com/hibernate/hibernate-search/commit/305be11023028e3b0921...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M Jenkinsfile
M README.md
M integrationtest/backend/elasticsearch/pom.xml
M parents/integrationtest/pom.xml
A util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch70TestDialect.java
A util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch73TestDialect.java
R util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch7TestDialect.java
Log Message:
-----------
HSEARCH-3273 Add a separate Maven profile for testing Elasticsearch 7.0 -> 7.2
There's a bug regarding BigInteger parsing that's been solved in 7.3,
so we'll have to disable some tests for ES 7.2 and below.
Commit: 013ec63e9d4b250bf525a7b26d00d81aa9b5d8c4
https://github.com/hibernate/hibernate-search/commit/013ec63e9d4b250bf525...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementDynamicFieldNameIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexingFieldTypesIT.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch5TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch60TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch63TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch64TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch67TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch70TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/ElasticsearchTestDialect.java
Log Message:
-----------
HSEARCH-3273 Disable some dynamic field tests for BigInteger with older Elasticsearch versions
Due to a bug in older versions of Elasticsearch.
Commit: efb4bab2dfeba9f99c1c1e1a9e75702c5965cffb
https://github.com/hibernate/hibernate-search/commit/efb4bab2dfeba9f99c1c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M documentation/src/main/asciidoc/mapper-orm-bridge-index-field-dsl.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/MultiTypeUserMetadataBinder.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/UserMetadataBinder.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/simple/ISBNBinder.java
Log Message:
-----------
HSEARCH-3273 Give more context in examples for the field definition DSL
Otherwise it's a bit hard to understand what is going on.
Compare: https://github.com/hibernate/hibernate-search/compare/a28fa6ade584...efb4...
4 years, 6 months
[hibernate/hibernate-orm] e38a4d: Verified and fixed BasicValue resolutions based on...
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: e38a4de536f3d72b1f725b55f5b928227eb84127
https://github.com/hibernate/hibernate-orm/commit/e38a4de536f3d72b1f725b5...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-05-01 (Fri, 01 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuildingContextRootImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/TypeDefinition.java
M hibernate-core/src/main/java/org/hibernate/boot/model/TypeDefinitionRegistry.java
A hibernate-core/src/main/java/org/hibernate/boot/model/TypeDefinitionRegistryStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/MappingDocument.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/TypeDefinitionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/InFlightMetadataCollector.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/annotations/basics/CustomTypeResolutionTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/schema/SchemaManagementScriptTests.java
R hibernate-core/src/test/java/org/hibernate/orm/test/grammar/importsql/SchemaManagementScriptTests.java
M hibernate-testing/src/main/java/org/hibernate/testing/boot/MetadataBuildingContextTestingImpl.java
Log Message:
-----------
Verified and fixed BasicValue resolutions based on type-defs and UserTypes
4 years, 6 months