[hibernate/hibernate-search] 9fd9b7: HSEARCH-3986 Remove an unused variable in LuceneBa...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 9fd9b7f5dd943f39183fe70e1eadc2314c08fb79
https://github.com/hibernate/hibernate-search/commit/9fd9b7f5dd943f39183f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-21 (Mon, 21 Sep 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendFactory.java
Log Message:
-----------
HSEARCH-3986 Remove an unused variable in LuceneBackendFactory
Commit: 5724da5e9cd270bc3c2b178f0d2b6f9568dbbd51
https://github.com/hibernate/hibernate-search/commit/5724da5e9cd270bc3c2b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-21 (Mon, 21 Sep 2020)
Changed paths:
A util/internal/integrationtest/backend/lucene/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/lucene/directory/OpenResourceTracker.java
A util/internal/integrationtest/backend/lucene/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/lucene/directory/TrackingChecksumIndexInput.java
A util/internal/integrationtest/backend/lucene/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/lucene/directory/TrackingDirectory.java
A util/internal/integrationtest/backend/lucene/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/lucene/directory/TrackingDirectoryHolder.java
A util/internal/integrationtest/backend/lucene/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/lucene/directory/TrackingDirectoryProvider.java
A util/internal/integrationtest/backend/lucene/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/lucene/directory/TrackingIndexInput.java
A util/internal/integrationtest/backend/lucene/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/lucene/directory/TrackingIndexOutput.java
Log Message:
-----------
HSEARCH-3986 Introduce utils to track open Lucene resources (directory, input, output)
Commit: 522b83391d10e5fff9d84b62647ad78d6d8cd62f
https://github.com/hibernate/hibernate-search/commit/522b83391d10e5fff9d8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-21 (Mon, 21 Sep 2020)
Changed paths:
A integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/lifecycle/LuceneCleanupIT.java
Log Message:
-----------
HSEARCH-3986 Test that the Lucene backend correctly releases open resources
Compare: https://github.com/hibernate/hibernate-search/compare/53395de9d2dd...522b...
4 years, 2 months
[hibernate/hibernate-orm] f136da: HHH-14218 fix some typos in code comments
by Nathan Xu
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: f136dabe181dcaf72ce33ac96b4d7c503fe60185
https://github.com/hibernate/hibernate-orm/commit/f136dabe181dcaf72ce33ac...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-09-20 (Sun, 20 Sep 2020)
Changed paths:
M hibernate-core/src/main/antlr/hql-sql.g
M hibernate-core/src/main/antlr/hql.g
M hibernate-core/src/main/antlr/sql-gen.g
M hibernate-core/src/main/java/org/hibernate/UnknownProfileException.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ResultSetMappingBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/BootstrapServiceRegistryBuilder.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/javassist/MappedSuperclassEnhancer.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/javassist/PersistentAttributesEnhancer.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/EnhancementHelper.java
M hibernate-core/src/main/java/org/hibernate/cache/cfg/internal/DomainDataRegionConfigImpl.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/NaturalIdCacheKey.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/RegionFactoryInitiator.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StandardCacheEntryImpl.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/cfg/ComponentPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/cfg/Ejb3Column.java
M hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java
M hibernate-core/src/main/java/org/hibernate/cfg/InheritanceState.java
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/PropertyPreloadedData.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/MapBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/SimpleValueBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/JPAOverriddenAnnotationReader.java
M hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/BeanValidationIntegrator.java
M hibernate-core/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java
M hibernate-core/src/main/java/org/hibernate/context/internal/ThreadLocalSessionContext.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InterbaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/AbstractAnsiTrimEmulationFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/StandardAnsiSqlAggregationFunctions.java
M hibernate-core/src/main/java/org/hibernate/dialect/identity/Chache71IdentityColumnSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/pagination/CUBRIDLimitHandler.java
M hibernate-core/src/main/java/org/hibernate/dialect/pagination/FirstLimitHandler.java
M hibernate-core/src/main/java/org/hibernate/dialect/pagination/LegacyFirstLimitHandler.java
M hibernate-core/src/main/java/org/hibernate/dialect/pagination/NoopLimitHandler.java
M hibernate-core/src/main/java/org/hibernate/dialect/pagination/SQL2008StandardLimitHandler.java
M hibernate-core/src/main/java/org/hibernate/dialect/pagination/SQLServer2005LimitHandler.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Collections.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ForeignKeys.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Nullability.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEntityEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultReplicateEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DirtyCollectionSearchVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/OnLockVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/ProxyVisitor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/HqlLexer.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/HqlSqlWalker.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/SqlGenerator.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/AbstractNullnessCheckNode.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/BinaryArithmeticOperatorNode.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/BinaryLogicOperatorNode.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/CollectionSizeNode.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/ComponentJoin.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/DotNode.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/EntityJoinFromElement.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElement.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/FromElementType.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/IdentNode.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/IntoClause.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/MapKeyEntityFromElement.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/SelectClause.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/ColumnHelper.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/JoinProcessor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/util/SessionFactoryHelper.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/classic/FromParser.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/classic/PathExpressionParser.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/classic/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/id/AbstractUUIDGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/HiLoOptimizer.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/NoopOptimizer.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/PooledOptimizer.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java
M hibernate-core/src/main/java/org/hibernate/internal/util/type/PrimitiveWrapperHelper.java
M hibernate-core/src/main/java/org/hibernate/internal/util/xml/ErrorLogger.java
M hibernate-core/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/enhance/EnhancingClassTransformerImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/XmlHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/Loader.java
M hibernate-core/src/main/java/org/hibernate/loader/criteria/CriteriaLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/criteria/CriteriaQueryTranslator.java
M hibernate-core/src/main/java/org/hibernate/loader/custom/CustomLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/custom/sql/SQLQueryParser.java
M hibernate-core/src/main/java/org/hibernate/loader/custom/sql/SQLQueryReturnProcessor.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/LoadQueryJoinAndFetchProcessor.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/CollectionReferenceInitializerImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Collection.java
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
M hibernate-core/src/main/java/org/hibernate/mapping/ForeignKey.java
M hibernate-core/src/main/java/org/hibernate/mapping/MappedSuperclass.java
M hibernate-core/src/main/java/org/hibernate/mapping/OneToMany.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
M hibernate-core/src/main/java/org/hibernate/mapping/Set.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataContext.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/PluralAttributeBuilder.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractPropertyMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/walking/internal/CompositionSingularSubAttributesHelper.java
M hibernate-core/src/main/java/org/hibernate/pretty/MessageHelper.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/EnhancedSetterImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/internal/CriteriaQueryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/internal/CriteriaSubqueryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/internal/expression/EntityTypeExpression.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/internal/path/PluralAttributePath.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/internal/path/SingularAttributePath.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/internal/predicate/InPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/internal/AbstractProducedQuery.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/ResourceRegistryStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/ForUpdateFragment.java
M hibernate-core/src/main/java/org/hibernate/sql/Template.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/spi/SchemaManagementToolCoordinator.java
M hibernate-core/src/main/java/org/hibernate/transform/CacheableResultTransformer.java
M hibernate-core/src/main/java/org/hibernate/transform/PassThroughResultTransformer.java
M hibernate-core/src/main/java/org/hibernate/transform/Transformers.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/BytecodeEnhancementMetadataPojoImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java
M hibernate-core/src/main/java/org/hibernate/type/CollectionType.java
M hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
M hibernate-core/src/main/java/org/hibernate/type/CompositeCustomType.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
M hibernate-core/src/main/java/org/hibernate/type/ManyToOneType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ArrayMutabilityPlan.java
Log Message:
-----------
HHH-14218 fix some typos in code comments
4 years, 2 months
[hibernate/hibernate-search] 6092ed: HSEARCH-3655 Add traces to AwsSigningRequestInterc...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 6092ed82245a0aaf401f836e8ff557682e7c7fb5
https://github.com/hibernate/hibernate-search/commit/6092ed82245a0aaf401f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M backend/elasticsearch-aws/src/main/java/org/hibernate/search/backend/elasticsearch/aws/impl/AwsSigningRequestInterceptor.java
Log Message:
-----------
HSEARCH-3655 Add traces to AwsSigningRequestInterceptor
Just to aid in debugging.
Commit: af8e6f6ef4cc52bc1b071e7733336bd82439c52b
https://github.com/hibernate/hibernate-search/commit/af8e6f6ef4cc52bc1b07...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/GsonHttpEntity.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/ProgressiveCharBufferWriter.java
Log Message:
-----------
HSEARCH-3655 Simplify the computation of content length in GsonHttpEntity
Commit: 5485a6b34d30f6a17f57a2453359b86520e97af0
https://github.com/hibernate/hibernate-search/commit/5485a6b34d30f6a17f57...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/GsonHttpEntity.java
Log Message:
-----------
HSEARCH-3655 Fix typos in GsonHttpEntity
Commit: 98d8bc8af028d3ae51dc83775c420f1ca08d7020
https://github.com/hibernate/hibernate-search/commit/98d8bc8af028d3ae51dc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/GsonHttpEntity.java
Log Message:
-----------
HSEARCH-3655 Remove unnecessary field reset in GsonHttpEntity
Callers are expected to call close() after a complete write.
Commit: 2864bdaf48bf261d694ffc505638c3d3eb1c8c1b
https://github.com/hibernate/hibernate-search/commit/2864bdaf48bf261d694f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/GsonHttpEntity.java
Log Message:
-----------
HSEARCH-3655 Produce the content length hint after the final produceContent call in GsonHttpEntity
Commit: 8d603b112f8ce634e5c06ca72a96acc1653efffe
https://github.com/hibernate/hibernate-search/commit/8d603b112f8ce634e5c0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/ByteBufferContentEncoder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/GsonHttpEntity.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/HttpAsyncContentProducerInputStream.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/StubIOControl.java
Log Message:
-----------
HSEARCH-3655 Implement GsonHttpEntity.getContent()
The AWS SDK needs an InputStream to compute the hash, so here we go.
Commit: 7a0d5d0afa7699669d0bee680139fb90cd49ef35
https://github.com/hibernate/hibernate-search/commit/7a0d5d0afa7699669d0b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/StubIOControl.java
A backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/client/impl/GsonHttpEntityTest.java
Log Message:
-----------
HSEARCH-3655 Test GsonEntity's various ways of producing content
Commit: 7464eb239a9bb64ce90b0d49a5e5db116d7096de
https://github.com/hibernate/hibernate-search/commit/7464eb239a9bb64ce90b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M backend/elasticsearch-aws/pom.xml
R backend/elasticsearch-aws/src/main/java/org/hibernate/search/backend/elasticsearch/aws/impl/AwsHeaders.java
R backend/elasticsearch-aws/src/main/java/org/hibernate/search/backend/elasticsearch/aws/impl/AwsNormalization.java
R backend/elasticsearch-aws/src/main/java/org/hibernate/search/backend/elasticsearch/aws/impl/AwsPayloadHashingRequestInterceptor.java
M backend/elasticsearch-aws/src/main/java/org/hibernate/search/backend/elasticsearch/aws/impl/AwsSigningRequestInterceptor.java
M backend/elasticsearch-aws/src/main/java/org/hibernate/search/backend/elasticsearch/aws/impl/ElasticsearchAwsHttpClientConfigurer.java
A backend/elasticsearch-aws/src/main/java/org/hibernate/search/backend/elasticsearch/aws/impl/HttpEntityContentStreamProvider.java
M pom.xml
Log Message:
-----------
HSEARCH-3655 Use the AWS SDK instead of a custom library for AWS signing
Commit: 53395de9d2ddb563f8a54fb1a307b76ae20d26fc
https://github.com/hibernate/hibernate-search/commit/53395de9d2ddb563f8a5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-18 (Fri, 18 Sep 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/sharding/AbstractShardingRoutingKeyIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/sharding/ShardingHashDocumentIdIT.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/ElasticsearchTestHostConnectionConfiguration.java
Log Message:
-----------
HSEARCH-3655 Re-enable tests with multiple routing keys on AWS
Compare: https://github.com/hibernate/hibernate-search/compare/f08640dad978...5339...
4 years, 2 months
[hibernate/hibernate-search] 200d5f: HSEARCH-3243 Remove invalid TODOs related to type ...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 200d5fa3da03edd97efc4431ba9ae1e6503829a6
https://github.com/hibernate/hibernate-search/commit/200d5fa3da03edd97efc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/DefaultIdentifierBindingContext.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/ValueBindingContextImpl.java
Log Message:
-----------
HSEARCH-3243 Remove invalid TODOs related to type checking
Calls to .bridge(Class<T>, SomeBridge<T, ...>) are safe by design,
because it's the responsibility of the user to make sure that:
1. T is a non-parameterized type (otherwise you can't have Class<T>)
2. The bridge implements SomeBridge<T> and not SomeBridge<U>
with U extending T or superclass of T
(that's part of the signature)
Commit: 303a270a8007bb04df76b3ac04a651063881c6b4
https://github.com/hibernate/hibernate-search/commit/303a270a8007bb04df76...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FullTextFieldIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/KeywordFieldIT.java
Log Message:
-----------
HSEARCH-3243 Clean up DocumentIdBaseIT and FieldBaseIT
Commit: ec68f0969c88774e1fbd8c8ff6f8155a217f4b70
https://github.com/hibernate/hibernate-search/commit/ec68f0969c88774e1fbd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/DefaultIdentifierBindingContext.java
Log Message:
-----------
HSEARCH-3243 Throw an exception when attempting to apply IdentifierBridge<? super T> on a property of type T
Commit: d6615812138afa10443bc6a934f24b3c2c03e2ae
https://github.com/hibernate/hibernate-search/commit/d6615812138afa10443b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdBaseIT.java
Log Message:
-----------
HSEARCH-3243 Test applying a custom document identifier bridge that can only handle a supertype or subtype of the property type
Commit: 3db9e60dbfe13198f62831a929b8733da8ec3be7
https://github.com/hibernate/hibernate-search/commit/3db9e60dbfe13198f628...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/ValueBindingContextImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3243 Give a clearer error message when attempting to infer the field type from a ValueBridge<Something, T> where T is generic
We used to ask the backend to create a field of type "Object" or
whatever raw type we converted T to, and obviously that cannot work.
Better explain that we can't handle generic types right away.
Commit: a60d9a039959c80efca2147285aa79e29eb4a815
https://github.com/hibernate/hibernate-search/commit/a60d9a039959c80efca2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FullTextFieldIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/GenericFieldIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/KeywordFieldIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/NonStandardFieldIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/ScaledNumberFieldIT.java
Log Message:
-----------
HSEARCH-3243 Test the error message when attempting to infer the field type from a ValueBridge<Something, T> where T is generic
We just can't infer the type correctly in that case.
Commit: 442b89230bd7b8abb1b38e555e4fc9b07a981076
https://github.com/hibernate/hibernate-search/commit/442b89230bd7b8abb1b3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/containerextractor/MyCollectionSizeBridge.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldContainerExtractorExplicitIT.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/mapping/impl/BeanBinder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3243 Throw an exception when attempting to infer the identifier/value type from a IdentifierBridge<T> or ValueBridge<T, Something> where T is generic
We used to allow that, but we didn't really check the type beyond the
raw type... Better force the user to acknowledge that they are dealing
with a raw type.
Commit: 01e5e2c78da753b1f9cb7bbb6745feec67366986
https://github.com/hibernate/hibernate-search/commit/01e5e2c78da753b1f9cb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldBaseIT.java
Log Message:
-----------
HSEARCH-3243 Test the error message when attempting to infer the identifier/value type from a IdentifierBridge<T> or ValueBridge<T, Something> where T is generic
Compare: https://github.com/hibernate/hibernate-search/compare/a89ddfa40d31...01e5...
4 years, 2 months