[hibernate/hibernate-search] 744da5: HSEARCH-3310 Rename the @Field annotation to @Gene...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 744da50deafa88e6babfda16cbf3a71ec97f2799
https://github.com/hibernate/hibernate-search/commit/744da50deafa88e6babf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingBasicIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingEmbeddableIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingGenericPolymorphicAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingListAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingMapKeysAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingMapValuesAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingMappedSuperclassIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingOverReindexingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingPolymorphicInverseSideAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingPolymorphicOriginalSideAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSingleAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSortedMapValuesAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSortedSetAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/bootstrap/UnusedPropertiesIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/AnnotationMappingAccessTypeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/GenericPropertyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/ProgrammaticMappingAccessTypeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/PropertyInheritanceIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/ProxyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/AnnotationMappingSmokeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/bootstrap/FailureReportIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/lifecycle/CleanupIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/AbstractFieldContainerValueExtractorIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DependencyIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldBaseIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldContainerValueExtractorBaseIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldContainerValueExtractorExplicitIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldContainerValueExtractorImplicitIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldDefaultBridgeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/model/GenericPropertyIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/model/PropertyInheritanceIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/AnnotationMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/ProgrammaticMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/AnnotationMappingSmokeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Book.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/BookCopy.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Document.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Library.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Person.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/ProgrammaticMappingConfigurer.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/VideoCopy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmPathFilterFactory.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/Field.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/GenericField.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/IndexingDependency.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationProcessorHelper.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationProcessorProvider.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyFieldMappingContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyGenericFieldMappingContext.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyMappingContext.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/DelegatingPropertyMappingContext.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyFieldMappingContextImpl.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyGenericFieldMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyMappingContextImpl.java
Log Message:
-----------
HSEARCH-3310 Rename the @Field annotation to @GenericField
Commit: 1f3a43b1601d37af19d79bea1686a4298e0faa02
https://github.com/hibernate/hibernate-search/commit/1f3a43b1601d37af19d7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths:
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/AssociationInverseSide.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/ContainerValueExtractorBeanReference.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/GenericField.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/IndexedEmbedded.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/IndexingDependency.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/PropertyValue.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationProcessorHelper.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationProcessorProvider.java
Log Message:
-----------
HSEARCH-3310 Merge all the DefaultExtractors classes used as default value in annotations
We are going to add more @XXField annotations, and each of these is
going to have an extractors() attribute, so let's avoid defining yet
another DefaultExtractors class in each case.
Commit: 2daba2cfb49141c0c3d2bba06fe10947677c7b79
https://github.com/hibernate/hibernate-search/commit/2daba2cfb49141c0c3d2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths:
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/GenericField.java
Log Message:
-----------
HSEARCH-3310 Remove the ElementType.TYPE target from the GenericField annotation
There was no reason to allow it in the first place: we don't look for
this annotation on types. Users are expected to use a TypeBridge
instead.
Commit: 85b4fd8a9f6b7ad64b066010180353740c4e3f12
https://github.com/hibernate/hibernate-search/commit/85b4fd8a9f6b7ad64b06...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths:
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Document.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Library.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Person.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/ProgrammaticMappingConfigurer.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/FullTextField.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/GenericField.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/KeywordField.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationProcessorHelper.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationProcessorProvider.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/PropertyFieldAnnotationProcessor.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/PropertySortableFieldAnnotationProcessor.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyFieldMappingContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyFullTextFieldMappingContext.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyGenericFieldMappingContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyKeywordFieldMappingContext.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyMappingContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertySortableFieldMappingContext.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/DelegatingPropertyMappingContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyFieldMappingContextImpl.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyFullTextFieldMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyGenericFieldMappingContextImpl.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyKeywordFieldMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyMappingContextImpl.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertySortableFieldMappingContextImpl.java
Log Message:
-----------
HSEARCH-3310 Introduce @FullTextField and @KeywordField in the POJO mapper
Commit: ca6b6835b9f8e99d56bd07b107ef2282eb6a4da1
https://github.com/hibernate/hibernate-search/commit/ca6b6835b9f8e99d56bd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldContextImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchIndexSchemaFieldTypedContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchScalarFieldTypedContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchStandardIndexSchemaFieldTypedContext.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractScalarFieldTypedContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchGeoPointIndexSchemaFieldContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchIntegerIndexSchemaFieldContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchLocalDateIndexSchemaFieldContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchStringIndexSchemaFieldContextImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/GeoPointIndexSchemaFieldContext.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/IntegerIndexSchemaFieldContext.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/JsonStringIndexSchemaFieldContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/JsonStringIndexSchemaFieldContextImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/LocalDateIndexSchemaFieldContext.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/StringIndexSchemaFieldContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/LuceneIndexSchemaFieldTypedContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/LuceneStandardIndexSchemaFieldTypedContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldContextImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/AbstractLuceneIndexSchemaFieldTypedContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/AbstractLuceneStandardIndexSchemaFieldTypedContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/GeoPointIndexSchemaFieldContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/IntegerIndexSchemaFieldContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LocalDateIndexSchemaFieldContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneFieldIndexSchemaFieldContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneFieldIndexSchemaFieldContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneGeoPointIndexSchemaFieldContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneIntegerIndexSchemaFieldContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneLocalDateIndexSchemaFieldContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexSchemaFieldContextImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/StringIndexSchemaFieldContext.java
Log Message:
-----------
HSEARCH-3310 Get our naming practices straight for implementations of contexts in the index field type DSL
This should make the next commit a bit clearer.
Commit: 1a62547d990c5883a94c613cafaaf50ef432faaf
https://github.com/hibernate/hibernate-search/commit/1a62547d990c5883a94c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/ElasticsearchIndexSchemaFieldContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/ElasticsearchStandardIndexSchemaFieldTypedContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldContextImpl.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/types/dsl/impl/AbstractElasticsearchScalarFieldTypedContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchStandardIndexSchemaFieldTypedContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchGeoPointIndexSchemaFieldContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchIntegerIndexSchemaFieldContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchLocalDateIndexSchemaFieldContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchStringIndexSchemaFieldContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/JsonStringIndexSchemaFieldContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/LuceneStandardIndexSchemaFieldTypedContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldContextImpl.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/AbstractLuceneStandardIndexSchemaFieldTypedContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneGeoPointIndexSchemaFieldContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneIntegerIndexSchemaFieldContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneLocalDateIndexSchemaFieldContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexSchemaFieldContextImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaFieldContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaFieldTypedContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/StandardIndexSchemaFieldTypedContext.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/StringIndexSchemaFieldTypedContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/spi/FieldModelContributor.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/DocumentModelDslIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/analysis/AnalysisCustomIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RangeSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortByFieldIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/util/StandardFieldMapper.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/ISBNBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/ValueBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultEnumValueBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/PassThroughValueBridge.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexModelBinderImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyFieldMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyFullTextFieldMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyGenericFieldMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyKeywordFieldMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertySortableFieldMappingContextImpl.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubGenericIndexSchemaFieldTypedContext.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaFieldContext.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaFieldTypedContext.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubStandardIndexSchemaFieldTypedContext.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubStringIndexSchemaFieldTypedContext.java
Log Message:
-----------
HSEARCH-3310 Make .normalizer() and .analyzer() calls in the index schema definition DSL specific to the String type
This might seem like a lot of changes for such a small goal, but what we
do here is actually prepare for the introduction of more type-specific
calls; next time we add one, we will need much fewer changes.
Commit: 0338afa130337d91955a287c9d6e85525b8e920e
https://github.com/hibernate/hibernate-search/commit/0338afa130337d91955a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths:
A integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FullTextFieldIT.java
A integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/KeywordFieldIT.java
Log Message:
-----------
HSEARCH-3310 Test @KeywordField and @FullTextField
Compare: https://github.com/hibernate/hibernate-search/compare/fdb87901606a...0338...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 1 month
[hibernate/hibernate-search] 2b58bc: Fix an invalid message ID in Elasticsearch Log int...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 2b58bc73d4416c9627e45c54d6622cdfe3a88b9a
https://github.com/hibernate/hibernate-search/commit/2b58bc73d4416c9627e4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
Log Message:
-----------
Fix an invalid message ID in Elasticsearch Log interface
Commit: 4b671a682e120ec6b55c640bfb1f3ab0b49516d7
https://github.com/hibernate/hibernate-search/commit/4b671a682e120ec6b55c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3115 Use an explicit offset for every message in the Lucene logger
I previously forgot to use ID_OFFSET_1 where relevant.
Commit: 07178ae11872f6c12a6939ffc694704d042cab74
https://github.com/hibernate/hibernate-search/commit/07178ae11872f6c12a69...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisComponentDefinitionContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisDefinitionProvider.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisDefinitionRegistryBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalyzerDefinitionContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalyzerDefinitionWithTokenizerContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchCompositeAnalysisDefinitionContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchNormalizerDefinitionContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchTypedAnalysisComponentDefinitionContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisComponentDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisDefinitionRegistry.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisDefinitionRegistryBuilderImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisDefinitionRegistryPopulator.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalyzerDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchCharFilterDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchNormalizerDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchTokenFilterDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchTokenizerDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/SimpleElasticsearchAnalysisDefinitionRegistry.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/ElasticsearchIndexSettingsBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/AbstractCompositeAnalysisDefinition.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/AnalysisDefinition.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/AnalysisDefinitionJsonAdapterFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/AnalyzerDefinition.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/AnalyzerDefinitionJsonAdapterFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/CharFilterDefinition.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/IndexSettings.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/NormalizerDefinition.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/NormalizerDefinitionJsonAdapterFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/TokenFilterDefinition.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/TokenizerDefinition.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/cfg/SearchBackendElasticsearchSettings.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3115 Copy Elasticsearch analysis definition code from Search 5
Commit: 57ede97ab3e65d77d5fbd66391e34e77f282eb7f
https://github.com/hibernate/hibernate-search/commit/57ede97ab3e65d77d5fb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/pom.xml
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/HibernateSearchNormalizerCheckingFilter.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/HibernateSearchNormalizerWrapper.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/HibernateSearchResourceLoader.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LuceneAnalyzerBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/ParameterAnnotationsReader.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/TokenizerChain.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisDefinitionProvider.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisDefinitionRegistryBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalyzerDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalyzerDefinitionWithTokenizerContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCharFilterDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCompositeAnalysisDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneNormalizerDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneTokenFilterDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionRegistry.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionRegistryBuilderImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionUtils.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalyzerDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneCharFilterDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneNormalizerDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneTokenFilterDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneTokenizerDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/ParametersBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/SimpleLuceneAnalysisDefinitionRegistry.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/AnalyzerDef.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/AnalyzerDefs.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/CharFilterDef.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/NormalizerDef.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/NormalizerDefs.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/Parameter.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/TokenFilterDef.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/TokenizerDef.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cfg/SearchBackendLuceneSettings.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3115 Copy Lucene analysis definition code from Search 5
Commit: 7501a864924ae2a77e1f3eb0993e8616797464b4
https://github.com/hibernate/hibernate-search/commit/7501a864924ae2a77e1f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisDefinitionContainerContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisDefinitionProvider.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisDefinitionRegistryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalyzerDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchCompositeAnalysisDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisComponentDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisDefinitionContainerContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisDefinitionRegistry.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisDefinitionRegistryBuilderImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisDefinitionRegistryPopulator.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalyzerDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchCharFilterDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchNormalizerDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchTokenFilterDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchTokenizerDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/SimpleElasticsearchAnalysisDefinitionRegistry.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/ElasticsearchAnalysisDefinitionCollector.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/ElasticsearchAnalysisDefinitionContributor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/ElasticsearchIndexSettingsBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisDefinitionContainerContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisDefinitionProvider.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisDefinitionRegistryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalyzerDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCompositeAnalysisDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionContainerContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionRegistry.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionRegistryBuilderImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalyzerDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneNormalizerDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/SimpleLuceneAnalysisDefinitionRegistry.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/impl/LuceneAnalysisDefinitionCollector.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/impl/LuceneAnalysisDefinitionContributor.java
Log Message:
-----------
HSEARCH-3115 Bring the analysis definition process closer to the predicate and index schema definition processes
* name the DSL entry point *ContainerContext.
* rename "Populators" to "Contributors"
* rename the "RegistryBuilder" to "Collector"
Commit: 6bbb88375393d92968eec410b0376b56cc3b3e92
https://github.com/hibernate/hibernate-search/commit/6bbb88375393d92968ee...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisComponentDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisDefinitionContainerContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisDefinitionProvider.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalyzerDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalyzerDefinitionWithTokenizerContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchCompositeAnalysisDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchNormalizerDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchTypedAnalysisComponentDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisDefinitionContainerContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisDefinitionProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalyzerDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalyzerDefinitionWithTokenizerContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCharFilterDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCompositeAnalysisDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneNormalizerDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneTokenFilterDefinitionContext.java
Log Message:
-----------
HSEARCH-3115 Remove mentions of the analysis definition DSL being experimental
It's going to be the only way to define analyzers, so it better be
stable.
Commit: 450c2c0d7788d7513b2a91d957c0ea56020d2d94
https://github.com/hibernate/hibernate-search/commit/450c2c0d7788d7513b2a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/ElasticsearchIndexSettingsBuilder.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/esnative/IndexSettings.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/settings/impl/ElasticsearchIndexSettingsBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/settings/impl/esnative/Analysis.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/settings/impl/esnative/IndexSettings.java
Log Message:
-----------
HSEARCH-3115 Move classes related to Elasticsearch index settings to a dedicated package
Commit: b95675ad9634a492e6ef01f10b7ac591d0b1180b
https://github.com/hibernate/hibernate-search/commit/b95675ad9634a492e6ef...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisConfigurer.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisDefinitionProvider.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/cfg/SearchBackendElasticsearchSettings.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisConfigurer.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisDefinitionProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cfg/SearchBackendLuceneSettings.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/ProgrammaticMappingAccessTypeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/lifecycle/CleanupIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/routing/ProgrammaticMappingRoutingIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/spatial/ProgrammaticMappingGeoPointBridgeIT.java
A integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/ProgrammaticMappingConfigurer.java
R integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/ProgrammaticMappingContributor.java
M integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/OrmElasticsearchLibraryShowcaseIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/JavaBeanMappingBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/SearchOrmSettings.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/HibernateOrmMappingDefinition.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/HibernateOrmMappingDefinitionContainerContext.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/HibernateOrmSearchMappingConfigurer.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/HibernateOrmSearchMappingContributor.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingInitiator.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/PojoMappingDefinition.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/PojoMappingDefinitionContainerContext.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/AnnotationMappingDefinition.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/AnnotationMappingDefinitionContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationMappingDefinitionContextImpl.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationMappingDefinitionImpl.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/ProgrammaticMappingDefinition.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/ProgrammaticMappingDefinitionContext.java
A mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/ProgrammaticMappingDefinitionContextImpl.java
R mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/ProgrammaticMappingDefinitionImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingInitiatorImpl.java
Log Message:
-----------
HSEARCH-3115 Rename objects providing callbacks allowing to configure a part of Hibernate Search to "configurers"
So far we only have three such interfaces: "ElasticsearchAnalysisConfigurer",
"LuceneAnalysisConfigurer" and "HibernateOrmSearchMappingConfigurer".
There are multiple reasons for this renaming.
First, because "contributor" is as generic as it gets, and "definition provider"
as well, so another generic name cannot be worse.
Second, because we should be consistent with how we name interfaces, so
as to avoid perplexing our users. We previously had a "definition
provider" when it comes to analysis, and a "mapping provider" when it
comes to ORM mapping...
Third, because the name for the ORM mapping configurer was a bit wrong:
it was named "HibernateOrmSearchMappingProvider", even though the object does
not provide a mapping, it merely configures the mapping and expects
Hibernate Search to build the mapping.
Commit: 81b7275115b9be2ccacfebfef323468d06ac4e27
https://github.com/hibernate/hibernate-search/commit/81b7275115b9be2ccacf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/ElasticsearchAnalysisConfigurer.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisConfigurer.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisDefinitionRegistry.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/SimpleElasticsearchAnalysisDefinitionRegistry.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/ElasticsearchAnalysisDefinitionRegistry.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/SimpleElasticsearchAnalysisDefinitionRegistry.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/settings/impl/ElasticsearchIndexSettingsBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/LuceneAnalysisConfigurer.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LuceneAnalyzerBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisConfigurer.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionRegistry.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/SimpleLuceneAnalysisDefinitionRegistry.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/impl/LuceneAnalysisDefinitionRegistry.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/impl/SimpleLuceneAnalysisDefinitionRegistry.java
Log Message:
-----------
HSEARCH-3115 Move classes not strictly implementing the DSL out of the DSL package
Let's keep only DSL interfaces in there, and let's not mix them with
classes that are supposed to make use of this DSL, or be used by the
DSL.
Commit: d217f9c0a2c13610d223e8d37a185a05013547c5
https://github.com/hibernate/hibernate-search/commit/d217f9c0a2c13610d223...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/ElasticsearchAnalysisDefinitionRegistry.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/SimpleElasticsearchAnalysisDefinitionRegistry.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/settings/impl/ElasticsearchIndexSettingsBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/impl/LuceneAnalysisDefinitionRegistry.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/impl/SimpleLuceneAnalysisDefinitionRegistry.java
Log Message:
-----------
HSEARCH-3115 Remove the unnecessary abstraction over analysis definition registries
We only have one implementation of each interface, and in the
Elasticsearch case we even rely on methods declared in the
implementation, so there's no point exposing interfaces.
Commit: 15ed2482ff90a472f5ecf0399fd2951356960543
https://github.com/hibernate/hibernate-search/commit/15ed2482ff90a472f5ec...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalysisDefinitionContainerContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalyzerDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchAnalyzerDefinitionWithTokenizerContext.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchCompositeAnalysisDefinitionContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchCustomAnalysisDefinitionContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchCustomAnalyzerDefinitionContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchCustomNormalizerDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/ElasticsearchNormalizerDefinitionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisDefinitionContainerContextImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalyzerDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchCustomAnalyzerDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchCustomNormalizerDefinitionContextImpl.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchNormalizerDefinitionContextImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchTypedAnalyzerDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3115 Allow to define typed (non-custom) analyzers in Elasticsearch
Commit: 1f0d87076dc109ebfee3850ed0c915acecf1c62e
https://github.com/hibernate/hibernate-search/commit/1f0d87076dc109ebfee3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/ElasticsearchAnalysisDefinitionRegistry.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/impl/ElasticsearchBackendFactory.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/impl/ElasticsearchIndexManagerBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/IndexingBackendContext.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/types/dsl/impl/StringIndexSchemaFieldContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ElasticsearchWorkFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/StubElasticsearchWorkFactory.java
Log Message:
-----------
HSEARCH-3115 Use the ElasticsearchAnalysisConfigurer to generate the index settings
Commit: 9c2c894ede4878da4e002544f0348d794ab4848d
https://github.com/hibernate/hibernate-search/commit/9c2c894ede4878da4e00...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LuceneAnalyzerBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LuceneAnalyzerFactory.java
Log Message:
-----------
HSEARCH-3115 Rename LuceneAnalyzerBuilder to LuceneAnalyzerFactory
Because it does not implement the Builder pattern, but the Factory
pattern.
Commit: 186ee789eae65d9ec665d3ae57cefa015b2587c9
https://github.com/hibernate/hibernate-search/commit/186ee789eae65d9ec665...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LuceneAnalyzerFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionContainerContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalyzerDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneNormalizerDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/impl/LuceneAnalysisDefinitionCollector.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/impl/LuceneAnalysisDefinitionRegistry.java
Log Message:
-----------
HSEARCH-3115 Store Analyzer instances in the Lucene analysis registry instead of annotations
Commit: 4c82b4583e0ded9d7f2b2fb89ae0dcfb75cf136f
https://github.com/hibernate/hibernate-search/commit/4c82b4583e0ded9d7f2b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/pom.xml
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/HibernateSearchNormalizerWrapper.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LuceneAnalysisComponentFactory.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LuceneAnalyzerFactory.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/ParameterAnnotationsReader.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisComponentDefinitionContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCharFilterDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCompositeAnalysisDefinitionContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneTokenFilterDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisComponentBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisComponentDefinitionContextImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionContainerContextImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionUtils.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalyzerDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneCharFilterDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneNormalizerDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneTokenFilterDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneTokenizerDefinitionContextImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/ParametersBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/AnalyzerDef.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/AnalyzerDefs.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/CharFilterDef.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/NormalizerDef.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/NormalizerDefs.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/Parameter.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/TokenFilterDef.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/annotations/TokenizerDef.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3115 Remove any use of @AnalyzerDef and similar annotations in the Lucene analysis definition DSL
Commit: a8f94596d3002e2354e0015cf900a9e0b740bcd6
https://github.com/hibernate/hibernate-search/commit/a8f94596d3002e2354e0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalyzerDefinitionContext.java
Log Message:
-----------
HSEARCH-3115 Force to define the tokenizer first in the Lucene analysis definition DSL
It must be defined, so we may as well guide the users into defining it.
Commit: 0a88288a4de8de292867b9cb78a21ec16675bfbc
https://github.com/hibernate/hibernate-search/commit/0a88288a4de8de292867...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/DelegatingAnalysisDefinitionContainerContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisComponentDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalyzerDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneNormalizerDefinitionContextImpl.java
Log Message:
-----------
HSEARCH-3115 Move Lucene analysis DSL context delegation code to an abstract parent class
We're about to add more methods that we will have to delegate to, so
let's avoid copy/pasting this delegation code everywhere.
Commit: b151cfddcbd691c5c821ecada8ca27dc3dd586b3
https://github.com/hibernate/hibernate-search/commit/b151cfddcbd691c5c821...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/HibernateSearchNormalizerWrapper.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LuceneAnalysisComponentFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalysisComponentDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalyzerDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneAnalyzerDefinitionWithTokenizerContext.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCompositeAnalysisDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCustomAnalysisDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCustomAnalyzerDefinitionContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneCustomNormalizerDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/LuceneNormalizerDefinitionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/DelegatingAnalysisDefinitionContainerContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisComponentDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionContainerContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalyzerBuilder.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalyzerDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalyzerInstanceContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneCharFilterDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneCustomAnalyzerDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneCustomNormalizerDefinitionContextImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneNormalizerDefinitionContextImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneNormalizerInstanceContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneTokenFilterDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneTokenizerDefinitionContextImpl.java
Log Message:
-----------
HSEARCH-3115 Allow to assign name to Lucene analyzer/normalizer instances
Commit: 101afaccfab53e54709622ab34430ccf896809e9
https://github.com/hibernate/hibernate-search/commit/101afaccfab53e547096...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/impl/LuceneAnalysisDefinitionRegistry.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cfg/SearchBackendLuceneSettings.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldContextImpl.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/LuceneIndexSchemaRootContext.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/impl/LuceneBackendFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendImpl.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/AbstractLuceneIndexSchemaFieldTypedContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/GeoPointIndexSchemaFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/IntegerIndexSchemaFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LocalDateIndexSchemaFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/StringIndexSchemaFieldContext.java
A integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/configuration/DefaultITAnalysisConfigurer.java
M integrationtest/backend/lucene/src/test/resources/backend-tck-multi-tenancy.properties
M integrationtest/backend/lucene/src/test/resources/backend-tck.properties
Log Message:
-----------
HSEARCH-3115 Use the LuceneAnalysisConfigurer to define analyzers and normalizers
Commit: 68ccca31b1fd379fa0c4ad74d07416066a5ee779
https://github.com/hibernate/hibernate-search/commit/68ccca31b1fd379fa0c4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/analysis/configuration/DefaultITAnalysisConfigurer.java
M integrationtest/backend/elasticsearch/src/test/resources/backend-tck.properties
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/configuration/DefaultITAnalysisConfigurer.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/DocumentModelDslIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/IndexFieldAccessorIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/ObjectFieldStorageIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/SmokeIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/configuration/DefaultAnalysisDefinitions.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/SearchResultLoadingOrTransformingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortByFieldIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortIT.java
Log Message:
-----------
HSEARCH-3115 Use a more precise definition of the required analyzers/normalizers in the backend TCK
Commit: 28758eb021a0136c7e7482bc0c71e838153157fe
https://github.com/hibernate/hibernate-search/commit/28758eb021a0136c7e74...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
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/types/dsl/impl/StringIndexSchemaFieldContext.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/StringIndexSchemaFieldContext.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/analysis/configuration/DefaultITAnalysisConfigurer.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/configuration/DefaultITAnalysisConfigurer.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/DocumentModelDslIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/configuration/DefaultAnalysisDefinitions.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/SearchProjectionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/SearchSortByFieldIT.java
Log Message:
-----------
HSEARCH-3115 Throw exceptions when using analyzers on sortable fields
We couldn't implement this restriction until now, because we relied on
analyzers in sort integration tests. Now, we can define and use
normalizers instead.
Commit: 99514e304a09167c1cc0114c86c8492963f6b895
https://github.com/hibernate/hibernate-search/commit/99514e304a09167c1cc0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/StringMatchPredicateBuilder.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/MatchSearchPredicateIT.java
Log Message:
-----------
HSEARCH-3115 Fix (and test) the behavior of the match predicate when analyzing the value returns no token
We used to throw a NullPointerException in that case...
Commit: e63eb7ac0949c460058862671c450eb729707029
https://github.com/hibernate/hibernate-search/commit/e63eb7ac0949c4600588...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/MultiTenancyIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/util/TckConfiguration.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/util/rule/SearchSetupHelper.java
Log Message:
-----------
HSEARCH-3115 Make it easier to add new configurations in the backend TCK
We'll need another for the analysis tests, in particular, and probably
more in the future.
Commit: de450d697be3e9aa6a76ea34e7bb1f80dd850610
https://github.com/hibernate/hibernate-search/commit/de450d697be3e9aa6a76...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/analysis/configuration/AnalysisCustomITAnalysisConfigurer.java
A integrationtest/backend/elasticsearch/src/test/resources/backend-tck-analysis-custom.properties
A integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneDocumentModelDslIT.java
A integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/configuration/AnalysisCustomITAnalysisConfigurer.java
A integrationtest/backend/lucene/src/test/resources/analysis/AnalysisCustomIT/stopwords.txt
A integrationtest/backend/lucene/src/test/resources/backend-tck-analysis-custom.properties
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/DocumentModelDslIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/analysis/AnalysisCustomIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/FailureReportUtils.java
Log Message:
-----------
HSEARCH-3115 Test usage of custom analyzers
Commit: 581624b68d8d4f2568e4153fe96cbb07f6c6f93c
https://github.com/hibernate/hibernate-search/commit/581624b68d8d4f2568e4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisComponentDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisComponentDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3115 Complete analysis configurer error messages and make them consistent between Lucene and ES
Commit: 1295b02f3d94dee48ecf2cd4ade4c99c0adf6a6a
https://github.com/hibernate/hibernate-search/commit/1295b02f3d94dee48ecf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/analysis/ElasticsearchAnalysisConfigurerIT.java
A integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/analysis/LuceneAnalysisConfigurerIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/FailureReportUtils.java
Log Message:
-----------
HSEARCH-3115 Test analysis configurer errors
Commit: 102e7d928ea57ff6e02bf24f79ae4b158cfd06e9
https://github.com/hibernate/hibernate-search/commit/102e7d928ea57ff6e02b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
A integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/analysis/LibraryAnalysisConfigurer.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Document.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Library.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Person.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/ProgrammaticMappingConfigurer.java
M integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/OrmElasticsearchLibraryShowcaseIT.java
Log Message:
-----------
HSEARCH-3115 Use an analysis configurer and normalizers in the Library showcase
Commit: ed84185f4d3aa41a103914d40cb07497b3aee7a8
https://github.com/hibernate/hibernate-search/commit/ed84185f4d3aa41a1039...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchCustomAnalyzerDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchCustomNormalizerDefinitionContextImpl.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/impl/ElasticsearchIndexManagerBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/HibernateSearchNormalizerCheckingFilter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LuceneAnalysisComponentFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneCustomAnalyzerDefinitionContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerBuilder.java
Log Message:
-----------
HSEARCH-3115 Code cleanup following Sonar analysis
Commit: 2bed514ebd3a9319f73ab94468eee8e39ad4986f
https://github.com/hibernate/hibernate-search/commit/2bed514ebd3a9319f73a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/analysis/LibraryAnalysisConfigurer.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/bridge/ISBNBridge.java
M integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/OrmElasticsearchLibraryShowcaseIT.java
Log Message:
-----------
HSEARCH-3115 Use a normalizer in ISBNBridge in the Library showcase
Commit: b9bbf3f0083c14fec1d5ccad4ece47f2aa854efa
https://github.com/hibernate/hibernate-search/commit/b9bbf3f0083c14fec1d5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchAnalysisComponentDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchCharFilterDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchCustomAnalyzerDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchTokenFilterDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchTokenizerDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/dsl/impl/ElasticsearchTypedAnalyzerDefinitionContextImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/analysis/model/impl/ElasticsearchAnalysisDefinitionRegistry.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/cfg/MultiTenancyStrategyConfiguration.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchIndexNameNormalizer.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/model/dsl/impl/LuceneAnalysisDefinitionContainerContextImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cfg/MultiTenancyStrategyConfiguration.java
Log Message:
-----------
HSEARCH-3115 Consistently use lowercase for "log" static properties
Commit: abde7802fe7de0540afb74af0a67db01c5c33fe6
https://github.com/hibernate/hibernate-search/commit/abde7802fe7de0540afb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
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/types/dsl/impl/StringIndexSchemaFieldContext.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/StringIndexSchemaFieldContext.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/DocumentModelDslIT.java
Log Message:
-----------
HSEARCH-3115 Mention the analyzer/normalizer name in error messages related to analyzers/normalizers
Commit: cc83bf8e4e23daac9192b13296daf745c17ea303
https://github.com/hibernate/hibernate-search/commit/cc83bf8e4e23daac9192...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3115 Mention what "LATEST" means exactly when configuring the Lucene version automatically
Commit: fdb87901606a1eb9c06a6d48b205956c555833e7
https://github.com/hibernate/hibernate-search/commit/fdb87901606a1eb9c06a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-05 (Fri, 05 Oct 2018)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/GeoPointFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/IntegerFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LocalDateFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/StringFieldCodec.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/AbstractLuceneIndexSchemaFieldTypedContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/GeoPointIndexSchemaFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/IntegerIndexSchemaFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LocalDateIndexSchemaFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/StringIndexSchemaFieldContext.java
Log Message:
-----------
HSEARCH-3115 Consistently use switch/case when interpreting enums with a "DEFAULT" value
Compare: https://github.com/hibernate/hibernate-search/compare/b257ecb79600...fdb8...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 1 month
[hibernate/hibernate-orm] 6f5b1e: HHH-11209 : Test cases
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 6f5b1e554386662e02d4ef3b91c23863258ff481
https://github.com/hibernate/hibernate-orm/commit/6f5b1e554386662e02d4ef3...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2018-10-04 (Thu, 04 Oct 2018)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/CollectionUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/QueuedOperationCollectionAction.java
M hibernate-core/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java
M hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
M hibernate-core/src/main/java/org/hibernate/type/CollectionType.java
A hibernate-core/src/test/java/org/hibernate/test/collection/delayedOperation/BagDelayedOperationNoCascadeTest.java
M hibernate-core/src/test/java/org/hibernate/test/collection/delayedOperation/BagDelayedOperationTest.java
A hibernate-core/src/test/java/org/hibernate/test/collection/delayedOperation/DetachedBagDelayedOperationTest.java
Log Message:
-----------
HHH-11209 : Test cases
HHH-11209 : NullPointerException in EntityType.replace() with a PersistentBag
HHH-11209 : Add test for merging a detached collection with queued operations
HHH-11209 : Throw UnsupportedOperationException if a detached collection with queued operations is merged
HHH-11209 : Ignore queued operations when merging a detached collection with queued operations; add warnings
HHH-11209 : Fix typo in comment
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 1 month
[hibernate/hibernate-search] b45d9c: HSEARCH-3384 Move environmnent-related code (servi...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: b45d9c8a96588286f141503524b2c657f05bcad3
https://github.com/hibernate/hibernate-search/commit/b45d9c8a96588286f141...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/backend/spi/BackendBuildContext.java
R engine/src/main/java/org/hibernate/search/engine/common/BeanProvider.java
R engine/src/main/java/org/hibernate/search/engine/common/BeanReference.java
R engine/src/main/java/org/hibernate/search/engine/common/impl/BeanProviderImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/DelegatingBuildContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/IndexManagerBuildingStateHolder.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/RootBuildContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationImpl.java
R engine/src/main/java/org/hibernate/search/engine/common/impl/ServiceManagerImpl.java
R engine/src/main/java/org/hibernate/search/engine/common/spi/BeanResolver.java
R engine/src/main/java/org/hibernate/search/engine/common/spi/ImmutableBeanReference.java
R engine/src/main/java/org/hibernate/search/engine/common/spi/ReflectionBeanResolver.java
M engine/src/main/java/org/hibernate/search/engine/common/spi/SearchIntegrationBuilder.java
R engine/src/main/java/org/hibernate/search/engine/common/spi/ServiceManager.java
A engine/src/main/java/org/hibernate/search/engine/environment/bean/BeanProvider.java
A engine/src/main/java/org/hibernate/search/engine/environment/bean/BeanReference.java
A engine/src/main/java/org/hibernate/search/engine/environment/bean/impl/BeanProviderImpl.java
A engine/src/main/java/org/hibernate/search/engine/environment/bean/spi/BeanResolver.java
A engine/src/main/java/org/hibernate/search/engine/environment/bean/spi/ImmutableBeanReference.java
A engine/src/main/java/org/hibernate/search/engine/environment/bean/spi/ReflectionBeanResolver.java
A engine/src/main/java/org/hibernate/search/engine/environment/service/impl/ServiceManagerImpl.java
A engine/src/main/java/org/hibernate/search/engine/environment/service/spi/ServiceManager.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappingBuildContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmBeanContainerBeanResolver.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/mapping/impl/HibernateOrmMappingInitiator.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/impl/BeanResolverBridgeBuilder.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/mapping/BridgeBuildContext.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/extractor/impl/ContainerValueExtractorBinder.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/BridgeBuildContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationMappingDefinitionImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationProcessorHelper.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationProcessorProvider.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyDocumentIdMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyFieldMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyMappingContextImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/TypeMappingContextImpl.java
Log Message:
-----------
HSEARCH-3384 Move environmnent-related code (services, beans) to a dedicated package
Commit: fe7c0ee703c8250ee544c66c8fb9dcc33d357867
https://github.com/hibernate/hibernate-search/commit/fe7c0ee703c8250ee544...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
A engine/src/main/java/org/hibernate/search/engine/environment/service/spi/Service.java
Log Message:
-----------
HSEARCH-3384 Copy the Service class from Search 5
Commit: 3ffffbd0b9b0aae4bf5851eece799b238b8edf82
https://github.com/hibernate/hibernate-search/commit/3ffffbd0b9b0aae4bf58...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
A engine/src/main/java/org/hibernate/search/engine/environment/classloading/impl/AggregatedClassLoader.java
A engine/src/main/java/org/hibernate/search/engine/environment/classloading/spi/ClassLoaderHelper.java
A engine/src/main/java/org/hibernate/search/engine/environment/classloading/spi/ClassLoaderService.java
A engine/src/main/java/org/hibernate/search/engine/environment/classloading/spi/ClassLoadingException.java
A engine/src/main/java/org/hibernate/search/engine/environment/classloading/spi/DefaultClassLoaderService.java
M engine/src/main/java/org/hibernate/search/engine/environment/service/impl/ServiceManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/environment/service/spi/ServiceManager.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/DelegatingClassLoaderService.java
Log Message:
-----------
HSEARCH-3384 Copy ClassLoaderService and related classes from Search 5
Commit: ef2a8fab7866287e7e6db32d0fedf82406ce5647
https://github.com/hibernate/hibernate-search/commit/ef2a8fab7866287e7e6d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/spi/SearchIntegrationBuilder.java
M engine/src/main/java/org/hibernate/search/engine/environment/service/impl/ServiceManagerImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchSessionFactoryObserver.java
Log Message:
-----------
HSEARCH-3384 Integrate ClassLoaderService into the bootstrap process
Commit: 82a1c0125b36ef6dd513df70ac6d4971fd1edbb3
https://github.com/hibernate/hibernate-search/commit/82a1c0125b36ef6dd513...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/environment/classloading/spi/ClassLoaderHelper.java
Log Message:
-----------
HSEARCH-3384 Use ClassLoaderService directly in ClassLoaderHelper
Instead of requiring to pass a ServiceManager which is only ever used to
retrieve the ClassLoaderService.
Commit: ee791a34e1185ad847212e554fe71973eb44c253
https://github.com/hibernate/hibernate-search/commit/ee791a34e1185ad84721...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/environment/bean/spi/ReflectionBeanResolver.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmBeanContainerBeanResolver.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchSessionFactoryObserver.java
Log Message:
-----------
HSEARCH-3384 Use the ClassLoaderService in ReflectionBeanResolver
Commit: ba4d91bac63a55131a93391647259d24ea2be34c
https://github.com/hibernate/hibernate-search/commit/ba4d91bac63a55131a93...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/client/impl/DefaultElasticsearchClientFactory.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/spi/SearchIntegrationBuilder.java
M engine/src/main/java/org/hibernate/search/engine/environment/bean/spi/ReflectionBeanResolver.java
R engine/src/main/java/org/hibernate/search/engine/environment/classloading/impl/AggregatedClassLoader.java
R engine/src/main/java/org/hibernate/search/engine/environment/classloading/spi/ClassLoaderHelper.java
R engine/src/main/java/org/hibernate/search/engine/environment/classloading/spi/ClassLoaderService.java
R engine/src/main/java/org/hibernate/search/engine/environment/classloading/spi/ClassLoadingException.java
R engine/src/main/java/org/hibernate/search/engine/environment/classloading/spi/DefaultClassLoaderService.java
A engine/src/main/java/org/hibernate/search/engine/environment/classpath/impl/AggregatedClassLoader.java
A engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/ClassLoaderHelper.java
A engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/ClassLoadingException.java
A engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/ClassResolver.java
A engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/DefaultClassResolver.java
M engine/src/main/java/org/hibernate/search/engine/environment/service/impl/ServiceManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/environment/service/spi/ServiceManager.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/DelegatingClassLoaderService.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmClassLoaderServiceClassResolver.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchSessionFactoryObserver.java
Log Message:
-----------
HSEARCH-3384 Rename ClassLoaderService to ClassResolver
Reasons:
1) It's not a Service, at least not in the same way as other services in
Search. It cannot be loaded through the ServiceLoader, since it provides
access to the ServiceLoader.
2) Its purpose is not to load classes, but "resources" in general:
classes, files, services, ...
3) Renaming it to "ClassLoader", without the suffix, would obviously be
a mistake, and I can't think of another, meaningful suffix.
4) "ClassResolver" would be consistent with the "BeanResolver"
interface we already have.
5) "ClassResolver" fits the purpose of that interface: all of its
methods allow to load a class/resource/service or to get the URL of a
resource.
6) It's SPI, so this does not break APIs.
Commit: 026b969bf8296b4a46e15682dd49c4f3b8c00319
https://github.com/hibernate/hibernate-search/commit/026b969bf8296b4a46e1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/spi/SearchIntegrationBuilder.java
M engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/ClassResolver.java
A engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/DefaultClassAndResourceResolver.java
R engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/DefaultClassResolver.java
A engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/ResourceResolver.java
M engine/src/main/java/org/hibernate/search/engine/environment/service/impl/ServiceManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/environment/service/spi/ServiceManager.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmClassLoaderServiceClassAndResourceResolver.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmClassLoaderServiceClassResolver.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchSessionFactoryObserver.java
Log Message:
-----------
HSEARCH-3384 Split ClassResolver in two: ClassResolver and ResourceResolver
... so that ResourceResolver can more easily be overridden without
overridding the class-related features.
Commit: 9221e155bdaef992778ebeb52e23880bc7c4cb19
https://github.com/hibernate/hibernate-search/commit/9221e155bdaef992778e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmBeanContainerBeanResolver.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchSessionFactoryObserver.java
Log Message:
-----------
HSEARCH-3384 Sonar fix: unclosed resource
Commit: e633149c293977eee1880428d8cdf82e320d6296
https://github.com/hibernate/hibernate-search/commit/e633149c293977eee188...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/environment/classpath/impl/AggregatedClassLoader.java
M engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/ClassLoaderHelper.java
M engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/DefaultClassAndResourceResolver.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmClassLoaderServiceClassAndResourceResolver.java
Log Message:
-----------
HSEARCH-3384 Sonar fix: various code smells
Commit: 62f495d1cb8bc5e83a45c20d430bb3306c4a5030
https://github.com/hibernate/hibernate-search/commit/62f495d1cb8bc5e83a45...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2018-10-03 (Wed, 03 Oct 2018)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/environment/classpath/impl/AggregatedClassLoader.java
M engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/ClassLoaderHelper.java
M engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/ClassResolver.java
M engine/src/main/java/org/hibernate/search/engine/environment/classpath/spi/ResourceResolver.java
M legacy/orm/src/main/java/org/hibernate/search/cfg/impl/DelegatingClassLoaderService.java
Log Message:
-----------
HSEARCH-3384 Fix various comments in code imported from Search 5
Compare: https://github.com/hibernate/hibernate-search/compare/8917ca29c795...62f4...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 1 month