[hibernate/hibernate-search] 8d6ec8: HSEARCH-3941 Fix invalid cast in AbstractElasticse...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 8d6ec8fd913fb037476d5bc8b974d987e9f26d9b
https://github.com/hibernate/hibernate-search/commit/8d6ec8fd913fb037476d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/sort/impl/AbstractElasticsearchFieldSortBuilderFactory.java
Log Message:
-----------
HSEARCH-3941 Fix invalid cast in AbstractElasticsearchFieldSortBuilderFactory
Commit: 6e62fd9f6fc015e7943116cdeb5e1a175c0c4403
https://github.com/hibernate/hibernate-search/commit/6e62fd9f6fc015e79431...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/AnalyzedStringFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/BigDecimalFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/BigIntegerFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/BooleanFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/ByteFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/DoubleFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/FieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/FloatFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/GeoPointFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/InstantFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/IntegerFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/KeywordStringFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/LocalDateFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/LocalDateTimeFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/LocalTimeFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/LongFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/MonthDayFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/NormalizedStringFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/OffsetDateTimeFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/OffsetTimeFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/ShortFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/YearFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/YearMonthFieldTypeDescriptor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/ZonedDateTimeFieldTypeDescriptor.java
Log Message:
-----------
HSEARCH-3941 Make FieldTypeDescriptors singletons
So that we can easily refer to one descriptor from a particular test
(e.g. a spatial-focused test).
Commit: 2b997d484779fbe6ec58bd45e0793514721bc438
https://github.com/hibernate/hibernate-search/commit/2b997d484779fbe6ec58...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneSearchTopDocsMergeFieldSortIT.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/aggregation/SingleFieldAggregationTypeCheckingAndConversionIT.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/search/sort/FieldSearchSortTypeCheckingAndConversionIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/model/singlefield/AbstractObjectBinding.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/model/singlefield/FirstLevelObjectBinding.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/model/singlefield/SecondLevelObjectBinding.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/model/singlefield/SingleFieldIndexBinding.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/SimpleFieldModel.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/SimpleFieldModelsByType.java
Log Message:
-----------
HSEARCH-3941 Factorize some of the test code related to data intialization
Commit: e9aa52cdf838323ec45fafae6d0466338108ad8b
https://github.com/hibernate/hibernate-search/commit/e9aa52cdf838323ec45f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
Log Message:
-----------
HSEARCH-3941 Code style in DistanceSearchSortBaseIT
Commit: dc845c885824058c6f864a676e03e854e2ea80c7
https://github.com/hibernate/hibernate-search/commit/dc845c885824058c6f86...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortTypeCheckingAndConversionIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/types/values/AscendingUniqueDistanceFromCenterValues.java
Log Message:
-----------
HSEARCH-3941 Test distance sorts across multiple indexes
Commit: 366469cfb2e848a611e4d76c8cf2d2cfc9378015
https://github.com/hibernate/hibernate-search/commit/366469cfb2e848a611e4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/repository/indexsearch/IndexSearchDocumentRepositoryImpl.java
M integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/library/LibraryShowcaseBaseIT.java
Log Message:
-----------
HSEARCH-3940 Restore sort by distance on (nested) field in the Library showcase
Compare: https://github.com/hibernate/hibernate-search/compare/a5bd0830b1f4...3664...
4 years, 6 months
[hibernate/hibernate-search] 9e85a2: HSEARCH-3939 Use a single field for GeoPoint stora...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 9e85a296fd8f95855ac70e0b054691ff6ddfdde6
https://github.com/hibernate/hibernate-search/commit/9e85a296fd8f95855ac7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/common/impl/MetadataFields.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneGeoPointFieldCodec.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/DocumentAssert.java
Log Message:
-----------
HSEARCH-3939 Use a single field for GeoPoint storage in Lucene
Commit: a5bd0830b1f4c255b8230bc9a99585a6c0bf4e1a
https://github.com/hibernate/hibernate-search/commit/a5bd0830b1f4c255b823...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneBigDecimalFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneBigIntegerFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneBooleanFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneByteFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneDoubleFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneFieldCodec.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/codec/impl/LuceneFloatFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneGeoPointFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneInstantFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneIntegerFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneLocalDateFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneLocalDateTimeFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneLocalTimeFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneLongFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneMonthDayFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneOffsetDateTimeFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneOffsetTimeFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneShortFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneStringFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneYearFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneYearMonthFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneZonedDateTimeFieldCodec.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/LuceneTckTestRunner.java
Log Message:
-----------
HSEARCH-3939 Simplify code by assuming all codecs use only one field for storage
Compare: https://github.com/hibernate/hibernate-search/compare/b85462dd39e7...a5bd...
4 years, 6 months
[hibernate/hibernate-search] bd7ac9: HSEARCH-3938 Rename CdiIT to CdiBeanResolutionIT
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: bd7ac9da1211a65ecc58bb3ae9805c84af45724c
https://github.com/hibernate/hibernate-search/commit/bd7ac9da1211a65ecc58...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
A integrationtest/mapper/orm-cdi/src/test/java/org/hibernate/search/integrationtest/mapper/orm/cdi/CdiBeanResolutionIT.java
R integrationtest/mapper/orm-cdi/src/test/java/org/hibernate/search/integrationtest/mapper/orm/cdi/CdiIT.java
Log Message:
-----------
HSEARCH-3938 Rename CdiIT to CdiBeanResolutionIT
Because we will add more CDI-related tests.
Commit: 4af3804171eb7d0b7fdf6a8b3f28ff75e5c6fed6
https://github.com/hibernate/hibernate-search/commit/4af3804171eb7d0b7fdf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmIntegrationBooterImpl.java
Log Message:
-----------
HSEARCH-3938 Fix inverted environmentSynchronizer ready/destroy events in HibernateOrmIntegrationBooterImpl
Commit: 9fc1cfab3266bc5dd992999d19e2fc0ab99ca873
https://github.com/hibernate/hibernate-search/commit/9fc1cfab3266bc5dd992...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmBeanContainerBeanProvider.java
Log Message:
-----------
HSEARCH-3938 Eagerly initialize beans retrieved from the BeanContainer
So that we can detect beans that cannot be found early.
Commit: 00398ed2a70a5c14a1dbfc2fc4b84e51023671da
https://github.com/hibernate/hibernate-search/commit/00398ed2a70a5c14a1db...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
A integrationtest/mapper/orm-cdi/src/test/java/org/hibernate/search/integrationtest/mapper/orm/cdi/CdiExtendedBeanManagerBootstrapShutdownIT.java
A integrationtest/mapper/orm-cdi/src/test/java/org/hibernate/search/integrationtest/mapper/orm/cdi/StubExtendedBeanManager.java
Log Message:
-----------
HSEARCH-3938 Test bootstrap/shutdown with an ExtendedBeanManager
Commit: d9f760cf0af8d56e1d6a2447d1049c7754a912d7
https://github.com/hibernate/hibernate-search/commit/d9f760cf0af8d56e1d6a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmIntegrationBooterImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchIntegrator.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchSessionFactoryObserver.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3937 Propagate exceptions occurring during bootstrap/shutdown triggered by an EnvironmentSynchronizer
Commit: b85462dd39e7418d2fcceb36048af0bac41d1969
https://github.com/hibernate/hibernate-search/commit/b85462dd39e7418d2fcc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
M integrationtest/mapper/orm-cdi/src/test/java/org/hibernate/search/integrationtest/mapper/orm/cdi/CdiExtendedBeanManagerBootstrapShutdownIT.java
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/bootstrap/ShutdownFailureIT.java
Log Message:
-----------
HSEARCH-3937 Test exceptions/logs on failed bootstrap/shutdown
Compare: https://github.com/hibernate/hibernate-search/compare/87511840a973...b854...
4 years, 6 months
[hibernate/hibernate-search] 0dea97: HSEARCH-3936 Set store = false in property mapping...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 0dea97329cbd0cb7073f363270d3a1ce352bf56e
https://github.com/hibernate/hibernate-search/commit/0dea97329cbd0cb7073f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
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/dsl/impl/ElasticsearchStringIndexFieldTypeOptionsStep.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationMappingAttributeIT.java
Log Message:
-----------
HSEARCH-3936 Set store = false in property mappings, even for projectable fields
We use the _source for projections, so field storage is irrelevant.
Commit: 87511840a9736c582247f5117474d938f6c83236
https://github.com/hibernate/hibernate-search/commit/87511840a9736c582247...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/PropertyMapping.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/PropertyMappingJsonAdapterFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/impl/DiscriminatorTypeNameMapping.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchSimpleStandardFieldTypeOptionsStep.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/validation/impl/PropertyMappingValidator.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerCreationMappingFieldTemplatesIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingFieldTemplateIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationMappingAttributeIT.java
M util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/ElasticsearchIndexMetadataTestUtils.java
Log Message:
-----------
HSEARCH-3936 Remove the "store" attribute from Elasticsearch property mappings
We always set it to false, which is the default in Elasticsearch. So it
is not necessary.
Compare: https://github.com/hibernate/hibernate-search/compare/674ae49fb85e...8751...
4 years, 6 months