Skip to content

Instantly share code, notes, and snippets.

//create index videos, type test with mapping
curl -XPUT localhost:9200/videos/ -d '
{
"mappings" : {
"test" : {
"properties" : {
"playlists": {
"type": "nested",
"properties" : {
"name" : {