Fix modules/reindex to not use the string field anymore.

This commit is contained in:
Adrien Grand 2016-03-03 11:00:16 +01:00
parent eef19be072
commit 2b545df372
2 changed files with 4 additions and 4 deletions

View File

@ -94,7 +94,7 @@ public class UpdateByQueryBasicTests extends UpdateByQueryTestCase {
// Now make foo searchable
assertAcked(client().admin().indices().preparePutMapping("test").setType("test")
.setSource("{\"test\": {\"properties\":{\"foo\": {\"type\": \"string\"}}}}"));
.setSource("{\"test\": {\"properties\":{\"foo\": {\"type\": \"text\"}}}}"));
UpdateByQueryRequestBuilder update = request().source("test");
if (refresh != null) {
update.refresh(refresh);

View File

@ -8,7 +8,7 @@
place:
properties:
name:
type: string
type: text
- do:
cluster.health:
wait_for_status: yellow
@ -27,10 +27,10 @@
body:
properties:
name:
type: string
type: text
fields:
english:
type: string
type: text
analyzer: english
- do: