DATAES-747 - ElasticsearchConfigurationSupport does not set customConversions into the MappingElasticsearchConverter.
Original PR: #395
This commit is contained in:
committed by
GitHub
parent
36a3d5943a
commit
9696f418fd
@@ -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\"" + //
|
||||
" ]" + //
|
||||
" }" + //
|
||||
" }" + //
|
||||
@@ -34,7 +34,7 @@ abstract class MappingContextBaseTests {
|
||||
|
||||
private SimpleElasticsearchMappingContext setupMappingContext() {
|
||||
|
||||
SimpleElasticsearchMappingContext mappingContext = new ElasticsearchConfigurationSupport() {}
|
||||
SimpleElasticsearchMappingContext mappingContext = new ElasticsearchConfigurationSupport()
|
||||
.elasticsearchMappingContext();
|
||||
mappingContext.initialize();
|
||||
return mappingContext;
|
||||
|
||||
Reference in New Issue
Block a user