Skip to content

Commit

Permalink
Fix type name in range field query string tests
Browse files Browse the repository at this point in the history
This came up after a backport, this commit fixes the type name used in
the range field query string tests.
  • Loading branch information
jasontedor committed Dec 17, 2017
1 parent 228e910 commit bd92e7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class RangeFieldQueryStringQueryBuilderTests extends AbstractQueryTestCas

@Override
protected void initializeAdditionalMappings(MapperService mapperService) throws IOException {
mapperService.merge("_doc", new CompressedXContent(PutMappingRequest.buildFromSimplifiedDef("_doc",
mapperService.merge("doc", new CompressedXContent(PutMappingRequest.buildFromSimplifiedDef("doc",
INTEGER_RANGE_FIELD_NAME, "type=integer_range",
LONG_RANGE_FIELD_NAME, "type=long_range",
FLOAT_RANGE_FIELD_NAME, "type=float_range",
Expand Down

0 comments on commit bd92e7f

Please sign in to comment.