Mapping
curl -XPOST localhost:9200/orders/orders/1 \ -H 'Content-Type: application/json' \ -d '{"id": "1", "placedOn": "2016-10-17T13:03:30.830Z"}'curl 'localhost:9200/orders/orders/_mapping?pretty=true'"orders" : { "properties" : { "id" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "placedOn" : { "type" : "date" } } }
Last updated