Test: Let both types have a non_analyzed id field.
This commit is contained in:
parent
480b90cfd6
commit
f8e93fa2aa
|
@ -48,7 +48,7 @@ public class ChildrenTests extends ElasticsearchIntegrationTest {
|
|||
public void setupSuiteScopeCluster() throws Exception {
|
||||
assertAcked(
|
||||
prepareCreate("test")
|
||||
.addMapping("article")
|
||||
.addMapping("article", "_id", "index=not_analyzed")
|
||||
.addMapping("comment", "_parent", "type=article", "_id", "index=not_analyzed")
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue