Test: Let both types have a non_analyzed id field.

This commit is contained in:
Martijn van Groningen 2014-09-11 15:20:28 +02:00
parent 480b90cfd6
commit f8e93fa2aa
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class ChildrenTests extends ElasticsearchIntegrationTest {
public void setupSuiteScopeCluster() throws Exception { public void setupSuiteScopeCluster() throws Exception {
assertAcked( assertAcked(
prepareCreate("test") prepareCreate("test")
.addMapping("article") .addMapping("article", "_id", "index=not_analyzed")
.addMapping("comment", "_parent", "type=article", "_id", "index=not_analyzed") .addMapping("comment", "_parent", "type=article", "_id", "index=not_analyzed")
); );