Defining Index with multiple index type in js

Hi,
Can any one help me by giving an example how to define client.indices.create() function to create index having multiple index type

for example I have an index named customer it should contain following index type
1.Personal info
2. Manager info

customer:{
mappings:{
personal_info:{},
manager_info:{}
}

both have json data in its respective file

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.