Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: 87264771558ee6a9794798ddfc1b23e2f06b7156
https://github.com/hibernate/hibernate-search/commit/87264771558ee6a97947...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchDocumentObjectBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneDocumentBuilder.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/DocumentElement.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaElement.java
A
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaFieldTemplateOptionsStep.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/spi/NoOpDocumentElement.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubDocumentElement.java
Log Message:
-----------
HSEARCH-3273 Add API to define and populate dynamic fields
Commit: fae9e773588dd2e13e8b043a1aff660c2e0608dd
https://github.com/hibernate/hibernate-search/commit/fae9e773588dd2e13e8b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/ExcludeAllIndexSchemaNestingContext.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaNestingContext.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaNestingContext.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/NotifyingNestingContext.java
M
engine/src/test/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaManagerNestingContextTest.java
Log Message:
-----------
HSEARCH-3273 Better document IndexSchemaNestingContext
Commit: d90bf77c6b667b86a58026ce08e87ec8dc4dfb5f
https://github.com/hibernate/hibernate-search/commit/d90bf77c6b667b86a580...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A
util/common/src/main/java/org/hibernate/search/util/common/pattern/spi/SimpleGlobPattern.java
A
util/common/src/test/java/org/hibernate/search/util/common/pattern/spi/SimpleGlobPatternTest.java
Log Message:
-----------
HSEARCH-3273 Add an internal glob pattern implementation
Commit: 6a0228bd41aba533f7c029ae95f679b0fe98dc34
https://github.com/hibernate/hibernate-search/commit/6a0228bd41aba533f7c0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/AbstractIndexBindingContext.java
Log Message:
-----------
HSEARCH-3273 Remove an obsolete TODO
Commit: 041b29666e54699a47c19e29ce98b0b5631359f6
https://github.com/hibernate/hibernate-search/commit/041b29666e54699a47c1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/ExcludeAllIndexSchemaNestingContext.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaNestingContext.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaNestingContext.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/NotifyingNestingContext.java
M
engine/src/test/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaManagerNestingContextTest.java
Log Message:
-----------
HSEARCH-3273 Support dynamic fields in IndexSchemaNestingContext
Commit: 256c97b26e473462a7b1189bec6f84ce82d71ac9
https://github.com/hibernate/hibernate-search/commit/256c97b26e473462a7b1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/spi/IndexSchemaObjectNodeBuilder.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubDocumentElement.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/StubIndexSchemaNode.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/AbstractStubIndexSchemaObjectNodeBuilder.java
A
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaFieldTemplateNodeBuilder.java
Log Message:
-----------
HSEARCH-3273 Implement support for dynamic fields in the engine
Commit: 2ee114a2f9aed8a3a05d7a9537a6becba69a6507
https://github.com/hibernate/hibernate-search/commit/2ee114a2f9aed8a3a05d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectNode.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/MetadataFields.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/common/impl/MetadataFields.java
A
engine/src/main/java/org/hibernate/search/engine/backend/common/spi/FieldPaths.java
Log Message:
-----------
HSEARCH-3273 Move some field path utils to the engine
Commit: e2592bc2a4b2526b93e5e8dadadf6dc784df688b
https://github.com/hibernate/hibernate-search/commit/e2592bc2a4b2526b93e5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/DynamicTemplate.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/DynamicTemplateJsonAdapterFactory.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/NamedDynamicTemplate.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/NamedDynamicTemplateJsonAdapterFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/RootTypeMapping.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/RootTypeMappingJsonAdapterFactory.java
Log Message:
-----------
HSEARCH-3273 Add low-level representation of Elasticsearch dynamic mappings
Commit: 041013984ddad81575c3378facc03e1f36c4ad33
https://github.com/hibernate/hibernate-search/commit/041013984ddad81575c3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/impl/ElasticsearchIndexFieldType.java
Log Message:
-----------
HSEARCH-3273 Split schema node creation from schema node collection for Elasticsearch
Commit: 4bbd5263928d9ed71d5b231f4dad624a1249944d
https://github.com/hibernate/hibernate-search/commit/4bbd5263928d9ed71d5b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexFieldReference.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldNode.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/aggregation/impl/ElasticsearchSearchAggregationBuilderFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilderFactoryImpl.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchSearchProjectionBuilderFactory.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/sort/impl/ElasticsearchSearchSortBuilderFactoryImpl.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchSimpleStandardFieldTypeOptionsStep.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/impl/ElasticsearchIndexFieldType.java
Log Message:
-----------
HSEARCH-3273 Keep ElasticsearchIndexFieldType instances at runtime
Instead of just copying their content to the schema node.
We'll need to keep them at runtime anyway if we want to implement
templates.
Commit: 98afd797a03cade8da09260a3b87a92950ad53d5
https://github.com/hibernate/hibernate-search/commit/98afd797a03cade8da09...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectNode.java
Log Message:
-----------
HSEARCH-3273 Do not rely on pre-computed attributes in
ElasticsearchIndexSchemaObjectNode constructor
... so that we can use the same constructor in templates when creating
dynamic fields.
Commit: acbdb7049b6d2635f20a24b2cdfd283a28b2e5f2
https://github.com/hibernate/hibernate-search/commit/acbdb7049b6d2635f20a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchDocumentObjectBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexFieldReference.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexObjectFieldReference.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaFieldTemplateBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldTemplateBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldNodeBuilder.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldTemplateBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaRootNodeBuilder.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/AbstractElasticsearchIndexSchemaFieldTemplate.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldNode.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldTemplate.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaNodeCollector.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectFieldTemplate.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectNode.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/DataMatchingTypes.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/lowlevel/index/mapping/impl/DynamicTemplate.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/AbstractElasticsearchScalarFieldTypeOptionsStep.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchGeoPointIndexFieldTypeOptionsStep.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchNativeIndexFieldTypeOptionsStepImpl.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchStringIndexFieldTypeOptionsStep.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/impl/ElasticsearchIndexFieldType.java
M
engine/src/main/java/org/hibernate/search/engine/backend/common/spi/FieldPaths.java
M
engine/src/main/java/org/hibernate/search/engine/reporting/impl/EngineEventContextMessages.java
M engine/src/main/java/org/hibernate/search/engine/reporting/spi/EventContexts.java
Log Message:
-----------
HSEARCH-3273 Implement support for dynamic fields in the Elasticsearch backend
Commit: 8a6001493da724aa34c7d8048343a355619244f1
https://github.com/hibernate/hibernate-search/commit/8a6001493da724aa34c7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/impl/LuceneIndexFieldType.java
Log Message:
-----------
HSEARCH-3273 Split schema node creation from schema node collection for Lucene
Commit: 341270516ba3ea4f4e2aee364c81444c4e710e52
https://github.com/hibernate/hibernate-search/commit/341270516ba3ea4f4e2a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldNode.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/aggregation/impl/LuceneNativeFieldAggregationBuilderFactory.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneFieldFieldCodec.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneNativeIndexFieldTypeOptionsStep.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneNativeFieldPredicateBuilderFactory.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/impl/LuceneNativeFieldSortBuilderFactory.java
Log Message:
-----------
HSEARCH-3273 Rely on builder factories rather than schema nodes to declare
predicates/sorts/etc. unsupported for Lucene native fields
This way, all field types work the same way, which is necessary for the
next commit.
Commit: 329bda271f08a1c9bf7e26d21f63d430fed6f54e
https://github.com/hibernate/hibernate-search/commit/329bda271f08a1c9bf7e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldNode.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/LuceneSearchAggregationBuilderFactory.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilderFactoryImpl.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneSearchProjectionBuilderFactory.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortBuilderFactoryImpl.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/impl/LuceneIndexFieldType.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneObjectPredicateBuilderFactoryImpl.java
Log Message:
-----------
HSEARCH-3273 Keep LuceneIndexFieldType instances at runtime
Instead of just copying their content to the schema node.
We'll need to keep them at runtime anyway if we want to implement
templates.
Commit: 6409e63c1f3eaedaf606fb0303281f47106e3189
https://github.com/hibernate/hibernate-search/commit/6409e63c1f3eaedaf606...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
Log Message:
-----------
HSEARCH-3273 Fix a misnamed constructor parameter in LuceneIndexSchemaObjectNode
Commit: 095953a6132fd6e8d5083bdeab1ed603b4dd8ab2
https://github.com/hibernate/hibernate-search/commit/095953a6132fd6e8d508...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
Log Message:
-----------
HSEARCH-3273 Do not rely on pre-computed attributes in LuceneIndexSchemaObjectNode
constructor
... so that we can use the same constructor in templates when creating
dynamic fields.
Commit: 6db999718bb80f194bb5b7d39e9663ba116cc07c
https://github.com/hibernate/hibernate-search/commit/6db999718bb80f194bb5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaRootNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaNodeCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexManagerBackendContext.java
Log Message:
-----------
HSEARCH-3273 Use an analyzer backed by LuceneIndexModel for indexing
So that dynamic fields will be correctly handled.
Commit: eda52176d4ec591db564db7bbf7e023b12796b44
https://github.com/hibernate/hibernate-search/commit/eda52176d4ec591db564...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneNonFlattenedDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneFlattenedObjectDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexEntryFactory.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexObjectFieldReference.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneNestedObjectDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneRootDocumentBuilder.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaFieldTemplateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldTemplateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldTemplateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaRootNodeBuilder.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/AbstractLuceneIndexSchemaFieldTemplate.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldNode.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldTemplate.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaNodeCollector.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectFieldTemplate.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexManagerBackendContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/AbstractLuceneIndexFieldTypeOptionsStep.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/AbstractLuceneNumericIndexFieldTypeOptionsStep.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneGeoPointIndexFieldTypeOptionsStep.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneNativeIndexFieldTypeOptionsStep.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexFieldTypeOptionsStep.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/impl/LuceneIndexFieldType.java
Log Message:
-----------
HSEARCH-3273 Implement support for dynamic fields in the Lucene backend
Commit: 1712aab23d6a2e84f46b7de6e71fbbe36c03c06f
https://github.com/hibernate/hibernate-search/commit/1712aab23d6a2e84f46b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/ExcludeAllIndexSchemaNestingContext.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaNestingContext.java
M
engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/spi/IndexSchemaObjectNodeBuilder.java
A
engine/src/main/java/org/hibernate/search/engine/backend/document/model/spi/IndexFieldFilter.java
A
engine/src/main/java/org/hibernate/search/engine/backend/document/model/spi/IndexFieldInclusion.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/AbstractIndexBindingContext.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaNestingContext.java
M
engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/impl/NotifyingNestingContext.java
M
engine/src/test/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaManagerNestingContextTest.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubDocumentElement.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubIndexFieldReference.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/impl/StubIndexObjectFieldReference.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/AbstractStubIndexSchemaObjectNodeBuilder.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaFieldNodeBuilder.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaObjectFieldNodeBuilder.java
Log Message:
-----------
HSEARCH-3273 Represent field inclusion with a dedicated argument in
IndexSchemaNestingContext and field builders
Because it's simpler, but also (mainly) because we'll need this
representation in the next commits.
Commit: f14506546c2bedfb0e127ec42153c342581d4ec0
https://github.com/hibernate/hibernate-search/commit/f14506546c2bedfb0e12...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchDocumentObjectBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexFieldReference.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexObjectFieldReference.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaFieldTemplateBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaFieldTemplateBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaObjectFieldTemplateBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaRootNodeBuilder.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/AbstractElasticsearchIndexSchemaFieldTemplate.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldNode.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaFieldTemplate.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaNodeCollector.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectFieldTemplate.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaObjectNode.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchScopeModel.java
Log Message:
-----------
HSEARCH-3273 Add even excluded fields to the internal Hibernate Search schema for
Elasticsearch
We still don't add them to the Elasticsearch schema, but we need to have
them in the Hibernate Search schema so as to support calls to
DocumentElement#addValue(String, Object) or
DocumentElement#addObject(String): in this case, we need to know the
field actually exists so as not to throw an exception, even if we will
ultimately not include its value in the document.
Commit: 7e5ee66dd7ec1238bdea616081e4db893f2800b9
https://github.com/hibernate/hibernate-search/commit/7e5ee66dd7ec1238bdea...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexFieldReference.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneIndexObjectFieldReference.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaFieldTemplateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldTemplateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldTemplateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/AbstractLuceneIndexSchemaFieldTemplate.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldNode.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaFieldTemplate.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectFieldTemplate.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/scope/model/impl/LuceneScopeModel.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneObjectPredicateBuilderFactoryImpl.java
Log Message:
-----------
HSEARCH-3273 Add even excluded fields to the internal Hibernate Search schema for
Lucene
We need to havethem in the Hibernate Search schema so as to support
calls to DocumentElement#addValue(String, Object) or
DocumentElement#addObject(String): in this case, we need to know the
field actually exists so as not to throw an exception, even if we will
ultimately not include its value in the document.
Commit: fe3acf42c5077531b93ddb83f489dbde9a40d13f
https://github.com/hibernate/hibernate-search/commit/fe3acf42c5077531b93d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBridgeBaseIT.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/TypeBridgeBaseIT.java
Log Message:
-----------
HSEARCH-3273 Clean up tests related to field definition in bridges
Commit: 9739631e2cf25baac2c91ba6d261c3ef8f204ede
https://github.com/hibernate/hibernate-search/commit/9739631e2cf25baac2c9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/PropertyBridgeBaseIT.java
M
integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/TypeBridgeBaseIT.java
Log Message:
-----------
HSEARCH-3273 Test field template definition in bridges
Commit: c6057250b5d885071c39aa030f4f231173701574
https://github.com/hibernate/hibernate-search/commit/c6057250b5d885071c39...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
R
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentModelDslIT.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/IndexSchemaElementFieldIT.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/IndexSchemaElementTypeIT.java
Log Message:
-----------
HSEARCH-3273 More clearly separate tests of the field definition and type definition
DSLs
Commit: b3e1ef46a8eb386890e8af206d7d215db0ec7351
https://github.com/hibernate/hibernate-search/commit/b3e1ef46a8eb386890e8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/SimpleMappedIndex.java
Log Message:
-----------
HSEARCH-3273 Fix obsolete javadoc in SimpleMappedIndex
Commit: e3a793cc394148931a9abad3ed64864b87212ed4
https://github.com/hibernate/hibernate-search/commit/e3a793cc394148931a9a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementBaseIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementMultiValuedIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/IndexSchemaElementFieldIT.java
M
util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/SimpleMappedIndex.java
Log Message:
-----------
HSEARCH-3273 Test all field types where relevant in tests of schema/document APIs
Commit: 50849bfc18c026b466de29f90606eab67d670631
https://github.com/hibernate/hibernate-search/commit/50849bfc18c026b466de...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/IndexSchemaElementFieldTemplateIT.java
Log Message:
-----------
HSEARCH-3273 Test error cases when defining field templates
Commit: 5327a46d7aed15dc985c3817affa3a39b6d66b97
https://github.com/hibernate/hibernate-search/commit/5327a46d7aed15dc985c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexingFieldTypesIT.java
Log Message:
-----------
HSEARCH-3273 Convert IndexingFieldTypesIT to the more recent testing framework APIs
Commit: 84e4d4197c74d3019652354e2e0710c15b1e7b07
https://github.com/hibernate/hibernate-search/commit/84e4d4197c74d3019652...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
R
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementBaseIT.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementDynamicFieldNameIT.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementFieldReferenceIT.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementStaticFieldNameIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexingFieldTypesIT.java
Log Message:
-----------
HSEARCH-3273 Test indexing when fields are referenced by their path (static or
dynamic)
Commit: 812575772eff97a752fb1e49c1ab962fddbbcd14
https://github.com/hibernate/hibernate-search/commit/812575772eff97a752fb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/SingleFieldAggregationBaseIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/IndexFieldLocation.java
R
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/IndexFieldStructure.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TestedFieldStructure.java
Log Message:
-----------
HSEARCH-3273 Wrap field structure parameters with a single object in integration tests
Just in case we need to expand this to more tests.
Commit: e69124a1069977458c040f2046f4b780d49130d0
https://github.com/hibernate/hibernate-search/commit/e69124a1069977458c04...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/SingleFieldAggregationBaseIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSearchSortBaseIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSearchSortBaseIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/IndexFieldLocation.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TestedFieldStructure.java
Log Message:
-----------
HSEARCH-3273 Simplify IndexFieldLocation to mainly test multi-valued nested object
fields
Nested object fields are only useful when they are multi-valued, so
let's not bother complicating the tests just to test single-valued
nested fields.
Commit: 66710500a5438cc99abea2040067869f7ca7b9b4
https://github.com/hibernate/hibernate-search/commit/66710500a5438cc99abe...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/FieldTemplateIT.java
A
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/ObjectFieldTemplateIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TestedFieldStructure.java
Log Message:
-----------
HSEARCH-3273 Test indexing and searching dynamic fields created through field
templates
Commit: 24e17f32de9b52642245243242c3c393190df887
https://github.com/hibernate/hibernate-search/commit/24e17f32de9b52642245...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/LuceneTckBackendFeatures.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/dynamic/ObjectFieldTemplateIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-3273 Disable some tests relative to exists() predicate with dynamic fields for
Lucene
See
https://hibernate.atlassian.net/browse/HSEARCH-3905
Commit: 00f4656b2593a85faadb46b77d03e3bb404d5d93
https://github.com/hibernate/hibernate-search/commit/00f4656b2593a85faadb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/AnalysisDefinitionValidator.java
R
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/AnalysisJsonElementEquivalence.java
R
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/AnalysisJsonElementUnorderedArrayEquivalence.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/AnalysisParameterEquivalenceRegistry.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/IndexAliasDefinitionValidator.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/JsonElementEquivalence.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/JsonElementUnorderedArrayEquivalence.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/JsonElementValidator.java
Log Message:
-----------
HSEARCH-3273 Extract the validator for JsonElements to its own class
We'll need it when validating templates, too.
Commit: e2f21903d5a0785b2f2fc8f91005e8bd7a85bfae
https://github.com/hibernate/hibernate-search/commit/e2f21903d5a0785b2f2f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/ElasticsearchEventContextMessages.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/ElasticsearchEventContexts.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/DynamicTemplateValidator.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/ElasticsearchValidationMessages.java
A
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/NamedDynamicTemplateListValidator.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/RootTypeMappingValidator.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/ValidationContextType.java
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/ValidationErrorCollector.java
Log Message:
-----------
HSEARCH-3273 Validate field templates as part of the Elasticsearch schema validation
Commit: 895cae80377c209cdf867121c0c7a4a9a862efc0
https://github.com/hibernate/hibernate-search/commit/895cae80377c209cdf86...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerValidationMappingFieldTemplateIT.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/FailureReportUtils.java
M
util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/StubMappedIndex.java
Log Message:
-----------
HSEARCH-3273 Test validation of field templates in Elasticsearch schema management
Commit: c903bc07ce97dfb90d86321541dfb623436726a0
https://github.com/hibernate/hibernate-search/commit/c903bc07ce97dfb90d86...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerCreationMappingBaseIT.java
A
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerCreationMappingFieldTemplatesIT.java
R
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerCreationMappingIT.java
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerTestUtils.java
Log Message:
-----------
HSEARCH-3273 Test creation of field templates in Elasticsearch schema management
Commit: d16668c14a792b23f409dd0c91b7706c76191e5c
https://github.com/hibernate/hibernate-search/commit/d16668c14a792b23f409...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
A
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingBaseIT.java
A
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingFieldTemplateIT.java
R
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/schema/management/ElasticsearchIndexSchemaManagerUpdateMappingIT.java
Log Message:
-----------
HSEARCH-3273 Test update of field templates in Elasticsearch schema management
Commit: 0f3cd99eacb81355f3091d1a296b45ac64d077a5
https://github.com/hibernate/hibernate-search/commit/0f3cd99eacb81355f309...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M documentation/src/main/asciidoc/mapper-orm-bridge-index-field-dsl.asciidoc
M documentation/src/main/asciidoc/mapper-orm-mapping.asciidoc
A
documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/Book.java
A
documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/DocumentModelDslDynamicIT.java
A
documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/MultiTypeUserMetadataBinder.java
A
documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/UserMetadataBinder.java
Log Message:
-----------
HSEARCH-3273 Document dynamic fields
Commit: f08e1eb0d97bd78afefbf659ae19d6fc39ee4233
https://github.com/hibernate/hibernate-search/commit/f08e1eb0d97bd78afefb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M documentation/src/main/asciidoc/mapper-orm-mapping.asciidoc
Log Message:
-----------
HSEARCH-3273 Document that using an @IndexedEmbedded prefix that does not end with a dot
will break addValue(String, Object)/addObject(String)
We really need to deprecate this "prefix" feature;
see
https://hibernate.atlassian.net/browse/HSEARCH-3097
Commit: d197f4f5a9e2fcfc71c2692bb612e67b0695fcce
https://github.com/hibernate/hibernate-search/commit/d197f4f5a9e2fcfc71c2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/impl/ElasticsearchIndexFieldReference.java
Log Message:
-----------
HSEARCH-3273 Sonar: Methods should not be empty
Commit: 420e1c62ac59f414f68ac59e729aa267adbee746
https://github.com/hibernate/hibernate-search/commit/420e1c62ac59f414f68a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectFieldTemplate.java
Log Message:
-----------
HSEARCH-3273 Fix some obsolete ticket numbers in TODOs
Commit: 88c5462a2d704ea04015edfdfedad15bc2c6a2bf
https://github.com/hibernate/hibernate-search/commit/88c5462a2d704ea04015...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
Log Message:
-----------
HSEARCH-3273 Sonar: Loops should not contain more than a single "break" or
"continue" statement
Commit: 305be11023028e3b0921a24bd677a90c56a4c451
https://github.com/hibernate/hibernate-search/commit/305be11023028e3b0921...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M Jenkinsfile
M README.md
M integrationtest/backend/elasticsearch/pom.xml
M parents/integrationtest/pom.xml
A
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch70TestDialect.java
A
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch73TestDialect.java
R
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch7TestDialect.java
Log Message:
-----------
HSEARCH-3273 Add a separate Maven profile for testing Elasticsearch 7.0 -> 7.2
There's a bug regarding BigInteger parsing that's been solved in 7.3,
so we'll have to disable some tests for ES 7.2 and below.
Commit: 013ec63e9d4b250bf525a7b26d00d81aa9b5d8c4
https://github.com/hibernate/hibernate-search/commit/013ec63e9d4b250bf525...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M
integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/document/DocumentElementDynamicFieldNameIT.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
M
integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/work/IndexingFieldTypesIT.java
M
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch5TestDialect.java
M
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch60TestDialect.java
M
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch63TestDialect.java
M
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch64TestDialect.java
M
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch67TestDialect.java
M
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/Elasticsearch70TestDialect.java
M
util/internal/integrationtest/backend/elasticsearch/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/elasticsearch/dialect/ElasticsearchTestDialect.java
Log Message:
-----------
HSEARCH-3273 Disable some dynamic field tests for BigInteger with older Elasticsearch
versions
Due to a bug in older versions of Elasticsearch.
Commit: efb4bab2dfeba9f99c1c1e1a9e75702c5965cffb
https://github.com/hibernate/hibernate-search/commit/efb4bab2dfeba9f99c1c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M documentation/src/main/asciidoc/mapper-orm-bridge-index-field-dsl.asciidoc
M
documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/MultiTypeUserMetadataBinder.java
M
documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/dynamic/UserMetadataBinder.java
M
documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/bridge/document/model/dsl/simple/ISBNBinder.java
Log Message:
-----------
HSEARCH-3273 Give more context in examples for the field definition DSL
Otherwise it's a bit hard to understand what is going on.
Compare:
https://github.com/hibernate/hibernate-search/compare/a28fa6ade584...efb4...