[hibernate/hibernate-search] 15e74d: HSEARCH-4116 Avoid NPE in LogChecker
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 15e74d38b4bd7fd592e5ba42f81ad42f26747096
https://github.com/hibernate/hibernate-search/commit/15e74d38b4bd7fd592e5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M util/internal/test/src/main/java/org/hibernate/search/util/impl/test/rule/log4j/LogChecker.java
Log Message:
-----------
HSEARCH-4116 Avoid NPE in LogChecker
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: df826db53059ac751811a8738aac7d5256b94141
https://github.com/hibernate/hibernate-search/commit/df826db53059ac751811...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/bootstrap/UnusedPropertiesIT.java
Log Message:
-----------
HSEARCH-4116 Test that we ignore empty, blank or null configuration properties when detecting unused properties
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: b24d779c1fe54ebcc2f1b2f508b9a1a7007cc882
https://github.com/hibernate/hibernate-search/commit/b24d779c1fe54ebcc2f1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/cfg/impl/MapConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/cfg/impl/SystemConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/cfg/spi/AllAwareConfigurationPropertySource.java
M engine/src/main/java/org/hibernate/search/engine/cfg/spi/ConfigurationPropertyChecker.java
M engine/src/test/java/org/hibernate/search/engine/cfg/AbstractAllAwareConfigurationPropertySourceTest.java
M engine/src/test/java/org/hibernate/search/engine/cfg/MapConfigurationPropertySourceTest.java
M engine/src/test/java/org/hibernate/search/engine/cfg/SystemConfigurationPropertySourceTest.java
Log Message:
-----------
HSEARCH-4116 Ignore empty, blank or null configuration properties when detecting unused properties
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: be023cdc9e6b02b696609cc79074a5153465bed9
https://github.com/hibernate/hibernate-search/commit/be023cdc9e6b02b69660...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/ElasticsearchTestHostConnectionConfiguration.java
Log Message:
-----------
HSEARCH-4116 Don't force aws.signing.enabled to false in tests when it's not set
Otherwise we get annoying warnings about unused properties
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: b01ca285809e3cb87ed6cf9b7f7404279fa00281
https://github.com/hibernate/hibernate-search/commit/b01ca285809e3cb87ed6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/ElasticsearchTestHostConnectionConfiguration.java
Log Message:
-----------
HSEARCH-4116 Use ElasticsearchTestHostConnectionConfiguration.isAws() where it makes sense
Compare: https://github.com/hibernate/hibernate-search/compare/a1fdbecb424e...b01c...
4 years, 1 month
[hibernate/hibernate-search] d0f6b0: HSEARCH-4104 Relax constraints regarding expected ...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: d0f6b0fc055e8b6ab2b5406073a9b5984a231ba6
https://github.com/hibernate/hibernate-search/commit/d0f6b0fc055e8b6ab2b5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingBaseIT.java
Log Message:
-----------
HSEARCH-4104 Relax constraints regarding expected error messages when an ES schema update fails
Elasticsearch 7.10 returns a different message from previous versions,
but it essentially means the same.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 6e84a351b234d6b65e25d71e31322f93c166b77e
https://github.com/hibernate/hibernate-search/commit/6e84a351b234d6b65e25...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/schema/management/impl/ElasticsearchSchemaMigratorImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/schema/management/impl/ElasticsearchSchemaValidator.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/schema/management/impl/ElasticsearchSchemaValidatorImpl.java
Log Message:
-----------
HSEARCH-4104 Avoid updating the index schema when it's already valid
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: e1a98a766f56d443907275fd5ac664c9a34297c8
https://github.com/hibernate/hibernate-search/commit/e1a98a766f56d4439072...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/dialect/impl/ElasticsearchDialectFactoryTest.java
Log Message:
-----------
HSEARCH-4104 Add support for Elasticsearch 7.10.0
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 269c5c36645f2995fc63f0885c7e0b749b4e1e43
https://github.com/hibernate/hibernate-search/commit/269c5c36645f2995fc63...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/ExistsPredicateBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/ExistsPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-4104 Move testing of null field values to ExistsPredicateSpecificsIT
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 7dc266e15908e86083c70a2e046ad82dba020145
https://github.com/hibernate/hibernate-search/commit/7dc266e15908e86083c7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M CONTRIBUTING.md
M Jenkinsfile
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/Elasticsearch710TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch78TestDialect.java
Log Message:
-----------
HSEARCH-4104 Add a dedicated Maven profile for Elasticsearch 7.10
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: fdab7aec397d6b85742ec755b6498a781695e532
https://github.com/hibernate/hibernate-search/commit/fdab7aec397d6b85742e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 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/predicate/ExistsPredicateSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch710TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch78TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/ElasticsearchTestDialect.java
Log Message:
-----------
HSEARCH-4104 Disable testing of exists on null geo-point field with doc-values for Elasticsearch 7.10
Commit: 7a1d695509121ceeb40e313d74b2fc6c3ee67a43
https://github.com/hibernate/hibernate-search/commit/7a1d695509121ceeb40e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingFieldTemplateIT.java
Log Message:
-----------
HSEARCH-4104 Adapt ES schema migration tests to ES7.10
ES 7.10 returns the dynamic templates exactly as they were sent, instead
of returning its interpretation of it (which spells out the defaults
explicitly). So we have to stop expecting defaults to be spellt out
explicitly.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 807bbf36faa51e33e5d0d4de83e763788a59e17d
https://github.com/hibernate/hibernate-search/commit/807bbf36faa51e33e5d0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M documentation/src/test/java/org/hibernate/search/documentation/configuration/ElasticsearchConfigurationIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/bootstrap/ElasticsearchBootstrapIT.java
M pom.xml
Log Message:
-----------
HSEARCH-4104 Upgrade test infrastructure and Elasticsearch client to version 7.10.0
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: a1fdbecb424e41e5b090f20b2eb4cab3aa329e12
https://github.com/hibernate/hibernate-search/commit/a1fdbecb424e41e5b090...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/comparator/impl/DoubleValuesSourceComparator.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/comparator/impl/FloatValuesSourceComparator.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/comparator/impl/IntValuesSourceComparator.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/comparator/impl/LongValuesSourceComparator.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneDoubleDomain.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneFloatDomain.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneIntegerDomain.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneLongDomain.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneNumericDomain.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneGeoPointDistanceComparatorSource.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneNumericFieldComparatorSource.java
M pom.xml
Log Message:
-----------
HSEARCH-4098 Upgrade to Lucene 8.7.0
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/cb7b78bf2e44...a1fd...
4 years, 1 month
[hibernate/hibernate-search] 7ab184: HSEARCH-4089 Upgrade to Elasticsearch-maven-plugin...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 7ab18404a96a4979b421ae5e8a83414eb6189d38
https://github.com/hibernate/hibernate-search/commit/7ab18404a96a4979b421...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4089 Upgrade to Elasticsearch-maven-plugin 6.19
Mainly to get rid of these warnings:
[ES][WARN ][2020-11-18T13:48:15,175][o.e.d.c.s.Settings ][ip-172-30-1-91.ec2.internal] [transport.tcp.port] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 42dee9e1b00d464af0adb985ab539dd0eb319b63
https://github.com/hibernate/hibernate-search/commit/42dee9e1b00d464af0ad...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
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/Elasticsearch73TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch77TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/ElasticsearchTestDialect.java
Log Message:
-----------
HSEARCH-4089 Use cascading inheritance for ElasticsearchTestDialect implementations
So that we don't duplicate the code so much.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 407c0a1ccec6b9ce7dc3329a27f0588e084c3172
https://github.com/hibernate/hibernate-search/commit/407c0a1ccec6b9ce7dc3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M CONTRIBUTING.md
M Jenkinsfile
M integrationtest/backend/elasticsearch/pom.xml
M parents/integrationtest/pom.xml
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch77TestDialect.java
A util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch78TestDialect.java
A util/internal/integrationtest/sharedresources/src/main/elasticsearch-maven-plugin/7.8/configuration/elasticsearch.yml
A util/internal/integrationtest/sharedresources/src/main/elasticsearch-maven-plugin/7.8/configuration/jvm.options
A util/internal/integrationtest/sharedresources/src/main/elasticsearch-maven-plugin/7.8/configuration/log4j2.properties
A util/internal/integrationtest/sharedresources/src/main/elasticsearch-maven-plugin/7.8/init/init.script
Log Message:
-----------
HSEARCH-4089 Add a separate Maven profile to test with Elasticsearch 7.8+
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 4a7d0e551bdbfde7b0bb172924dae0749e0e4853
https://github.com/hibernate/hibernate-search/commit/4a7d0e551bdbfde7b0bb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/Paths.java
M documentation/src/test/java/org/hibernate/search/documentation/testsupport/BackendConfigurations.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendHelper.java
M integrationtest/mapper/orm-realbackend/src/test/java/org/hibernate/search/integrationtest/mapper/orm/realbackend/testsupport/BackendConfigurations.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/ElasticsearchTestHostConnectionConfiguration.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/Elasticsearch77TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch78TestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/ElasticsearchTestDialect.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/rule/TestElasticsearchClient.java
Log Message:
-----------
HSEARCH-4089 Use the new component templates instead of legacy templates when testing ES 7.8+
So that we avoid warnings in logs.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 3cb8b55226da78cf60ccf6998a431e5e2b193e69
https://github.com/hibernate/hibernate-search/commit/3cb8b55226da78cf60cc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/rule/TestElasticsearchClient.java
Log Message:
-----------
HSEARCH-4089 Remove a few unused methods from TestElasticsearchClient
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: f056aecc28836320eb04f5f29a6e6a9a9c7243fe
https://github.com/hibernate/hibernate-search/commit/f056aecc28836320eb04...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M parents/integrationtest/pom.xml
A util/internal/integrationtest/sharedresources/src/main/elasticsearch-maven-plugin/7.8/init/init.json
R util/internal/integrationtest/sharedresources/src/main/elasticsearch-maven-plugin/7.8/init/init.script
Log Message:
-----------
HSEARCH-4089 Use the new component templates instead of legacy templates in the init script of ES 7.8 with elasticsearch-maven-plugin
So that we avoid warnings in logs.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/1034b05c58f1...f056...
4 years, 1 month
[hibernate/hibernate-search] 552366: HSEARCH-4114 Only retrieve a property's value hand...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 552366ea799fdf541e1ad5bb16951fc9b548a9a9
https://github.com/hibernate/hibernate-search/commit/552366ea799fdf541e1a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverPropertyNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/impl/PojoModelNestedCompositeElement.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/path/impl/BoundPojoModelPathPropertyNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorPropertyNodeBuilder.java
M mapper/pojo-base/src/test/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoAssociationPathInverterTest.java
Log Message:
-----------
HSEARCH-4114 Only retrieve a property's value handle when absolutely necessary
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 1034b05c58f11c5bea5cd20afa1feddc43107019
https://github.com/hibernate/hibernate-search/commit/1034b05c58f11c5bea5c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBridgeBaseIT.java
Log Message:
-----------
HSEARCH-4114 Test property bridges referencing inacessible properties
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/40b9c04159db...1034...
4 years, 1 month
[hibernate/hibernate-search] 83424e: HSERACH-4112 Avoid unnecessary creation of SearchS...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 83424e3de13b763aaa833722cc0bf26afdd09b0c
https://github.com/hibernate/hibernate-search/commit/83424e3de13b763aaa83...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapping.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
Log Message:
-----------
HSERACH-4112 Avoid unnecessary creation of SearchSession on clear events
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: e93d1f8044869eb6b8d3aa01d39e0d9d1f87187a
https://github.com/hibernate/hibernate-search/commit/e93d1f8044869eb6b8d3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
Log Message:
-----------
HSEARCH-4112 Remove the unnecessary listener that closes the HibernateOrmSearchSession
We don't have anything to close anymore (we used to, a long time ago).
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 9b2675953c8e57df91fb6a5569cdccd6ae435252
https://github.com/hibernate/hibernate-search/commit/9b2675953c8e57df91fb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSessionHolder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/PostTransactionWorkQueueSynchronization.java
R util/common/src/main/java/org/hibernate/search/util/common/impl/TransientReference.java
Log Message:
-----------
HSEARCH-4112 Move per-session data to a dedicated class
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 599711d92f4e9f0383d6a699c13809326a0d2e87
https://github.com/hibernate/hibernate-search/commit/599711d92f4e9f0383d6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/impl/SearchIndexingPlanImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/impl/SearchIndexingPlanSessionContext.java
Log Message:
-----------
HSEARCH-4112 Don't check that the session is still open when getting the Search session or indexing plan
As ludicrous as it may seem, JTA closes the session before the
transaction is committed, so we need to be able to work on a closed
session.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 74b239e37f7ae5fab13f92df0dccb30af3180913
https://github.com/hibernate/hibernate-search/commit/74b239e37f7ae5fab13f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSessionHolder.java
Log Message:
-----------
HSEARCH-4112 Fall back to a static map to store the search session context when using JTA
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 22bc4f638fa7ababbe79de15d3fbfea6bb32296d
https://github.com/hibernate/hibernate-search/commit/22bc4f638fa7ababbe79...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M integrationtest/mapper/orm-spring/pom.xml
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringApplicationConfiguration.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringIT.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringMoreComplexIT.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/dao/BoxDAO.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/dao/MuffinDAO.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/dao/SnertDAO.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/AbstractEntity.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/Box.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/Container.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/Doughnut.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/Muffin.java
A integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/Snert.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/testsupport/AbstractSpringITConfig.java
A integrationtest/mapper/orm-spring/src/test/resources/application-jta.yaml
Log Message:
-----------
HSEARCH-4112 Restore Spring-JTA ITs from Search 5
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 2c53bcd2109d11d94e9b20f284f3b17b1de1b229
https://github.com/hibernate/hibernate-search/commit/2c53bcd2109d11d94e9b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringIT.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringMoreComplexIT.java
Log Message:
-----------
HSEARCH-4112 Check that JTA is actually used in Spring-JTA ITs
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 6ef7337017385ad3acdffcccc746a25802912b44
https://github.com/hibernate/hibernate-search/commit/6ef7337017385ad3acdf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringMoreComplexIT.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/dao/BoxDAO.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/Box.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/Container.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/Doughnut.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/entity/Muffin.java
Log Message:
-----------
HSEARCH-4112 Use less trivial mappings for Spring-JTA ITs
So that we at least test lazy-loading
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 7cbd962ec1ce3eb313ff14d34f1ffc6a7485bd2d
https://github.com/hibernate/hibernate-search/commit/7cbd962ec1ce3eb313ff...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
R integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/dao/MuffinDAO.java
Log Message:
-----------
HSEARCH-4112 Remove unused classes in Spring-JTA tests
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: d79707451e108b56bfd45a400f21657eea7db03c
https://github.com/hibernate/hibernate-search/commit/d79707451e108b56bfd4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringIT.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringMoreComplexIT.java
Log Message:
-----------
HSEARCH-4112 Check that no memory leak occurs when using a static map to store the search session context
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 40b9c04159db7a3003df4a6e181548d66962c60c
https://github.com/hibernate/hibernate-search/commit/40b9c04159db7a3003df...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M pom.xml
M reports/pom.xml
Log Message:
-----------
HSEARCH-4112 Take Spring ITs into account for test coverage reports
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/2029b7270b36...40b9...
4 years, 1 month
[hibernate/hibernate-search] 1d7d2d: HSEARCH-4102 Avoid get/set prefixes in the name of...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 1d7d2da3a2125ac1f2c8e46158456a98d2714fd0
https://github.com/hibernate/hibernate-search/commit/1d7d2da3a2125ac1f2c8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
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/lowlevel/impl/LowLevelIndexMetadataBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/IndexNamesRegistry.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/index/layout/impl/IndexNames.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/impl/IndexNameTypeNameMapping.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/schema/management/impl/ElasticsearchSchemaAccessor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/schema/management/impl/ElasticsearchSchemaCreatorImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchScopeSearchIndexesContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
Log Message:
-----------
HSEARCH-4102 Avoid get/set prefixes in the name of IndexNames methods
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 1e0053a21b26a0665d726c2c4acb67aa2735ec60
https://github.com/hibernate/hibernate-search/commit/1e0053a21b26a0665d72...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/lowlevel/impl/LowLevelIndexMetadataBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/layout/IndexLayoutStrategy.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/layout/impl/IndexNames.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/schema/management/impl/ElasticsearchSchemaAccessor.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerInspectionAliasesIT.java
Log Message:
-----------
HSEARCH-4102 Add support for IndexLayoutStrategy implementations that don't use aliases
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 2029b7270b365216bbbbf11714edee745af35362
https://github.com/hibernate/hibernate-search/commit/2029b7270b365216bbbb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBeanConfigurer.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/layout/impl/NoAliasIndexLayoutStrategy.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/schema/management/impl/ElasticsearchSchemaMigratorImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/schema/management/impl/ElasticsearchSchemaValidator.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/schema/management/impl/ElasticsearchSchemaValidatorImpl.java
M documentation/src/main/asciidoc/reference/backend-elasticsearch.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/backend/elasticsearch/layout/ElasticsearchCustomLayoutStrategyIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerCreationAliasesIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateAliasesIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationAliasesIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/search/query/ElasticsearchSearchQueryIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/work/ElasticsearchIndexingIT.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/rule/TestElasticsearchClient.java
Log Message:
-----------
HSEARCH-4102 Add a built-in 'no-alias' index layout strategy
Mainly so that we can test it
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/7d51b2e284e9...2029...
4 years, 1 month
[hibernate/hibernate-orm] 1361b5: Re-enabled additional tests and fixed IdClass issues
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 1361b5108ce7dd21612430996cab8680428aa172
https://github.com/hibernate/hibernate-orm/commit/1361b5108ce7dd216124309...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-11-18 (Wed, 18 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
R hibernate-core/src/test/java/org/hibernate/id/IdClassManyToOneCascadeTest.java
R hibernate-core/src/test/java/org/hibernate/id/idclass/IdClassNamingStrategyTest.java
R hibernate-core/src/test/java/org/hibernate/id/idclass/MyEntity.java
R hibernate-core/src/test/java/org/hibernate/id/idclass/MyEntityId.java
A hibernate-core/src/test/java/org/hibernate/orm/test/id/IdClassManyToOneCascadeTest.java
A hibernate-core/src/test/java/org/hibernate/test/id/idClass/IdClassNamingStrategyTest.java
A hibernate-core/src/test/java/org/hibernate/test/id/idClass/MyEntity.java
A hibernate-core/src/test/java/org/hibernate/test/id/idClass/MyEntityId.java
Log Message:
-----------
Re-enabled additional tests and fixed IdClass issues
4 years, 1 month