Fix modules/reindex to not use the string field anymore.
This commit is contained in:
parent
eef19be072
commit
2b545df372
|
@ -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);
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue