Create new indices

Hello,

I want create one indice by document type in my cluster but I don't how to make that.

I find a little tuto or some ideas to begin.

PUT myindex1/_doc/1
{
  "foo": "bar"
}
PUT myindex2/_doc/1
{
  "foo": "bar"
}

Thank you.

Can you explain me the different value ?
I don't understand the signification of all parameters.

PUT myindex1/_doc/1
       \       \   \_____ Document ID
        \       \________ Type (use _doc as types are going to be removed)
         \_______________ Index name
1 Like

Ok thanks and for "foo" and "bar" what does it mean ?

This blog post may be useful. I would also recommend the getting started guide.

These are just examples such as field: data

The whole is a URI u see.

1 Like

Thanks @kevivek

1 Like

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