[TESTS] Add explicit mappings to IndexAliasesTests.testSearchingFilteringAliasesSingleIndex
This makes sure that all shards know about the `_uid` field.
This commit is contained in:
parent
12ca36574e
commit
11fe940ea9
|
@ -153,7 +153,7 @@ public class IndexAliasesTests extends ElasticsearchIntegrationTest {
|
|||
@Test
|
||||
public void testSearchingFilteringAliasesSingleIndex() throws Exception {
|
||||
logger.info("--> creating index [test]");
|
||||
createIndex("test");
|
||||
assertAcked(prepareCreate("test").addMapping("type1", "id", "type=string", "name", "type=string"));
|
||||
|
||||
ensureGreen();
|
||||
|
||||
|
|
Loading…
Reference in New Issue