DATAES-747 - ElasticsearchConfigurationSupport does not set customConversions into the MappingElasticsearchConverter.

Original PR: #395
This commit is contained in:
Peter-Josef Meisch
2020-02-15 14:45:41 +01:00
committed by GitHub
parent 36a3d5943a
commit 9696f418fd
8 changed files with 32 additions and 28 deletions

View File

@@ -40,7 +40,7 @@ import org.springframework.lang.Nullable;
/**
* @author Peter-Josef Meisch
*/
class RequestFactoryTest {
class RequestFactoryTests {
@Nullable private static RequestFactory requestFactory;
@Nullable private static MappingElasticsearchConverter converter;
@@ -74,7 +74,7 @@ class RequestFactoryTest {
" \"query_string\": {" + //
" \"query\": \"Smith\"," + //
" \"fields\": [" + //
" \"first-name^1.0\"" + //
" \"last-name^1.0\"" + //
" ]" + //
" }" + //
" }" + //

View File

@@ -34,7 +34,7 @@ abstract class MappingContextBaseTests {
private SimpleElasticsearchMappingContext setupMappingContext() {
SimpleElasticsearchMappingContext mappingContext = new ElasticsearchConfigurationSupport() {}
SimpleElasticsearchMappingContext mappingContext = new ElasticsearchConfigurationSupport()
.elasticsearchMappingContext();
mappingContext.initialize();
return mappingContext;