Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -XPOST localhost:9200/dochadzka -d '{
- "settings" : {
- "number_of_shards" : 1
- },
- "mappings" : {
- "opendata":{
- "_timestamp" : {
- "enabled" : true,
- "store" : true
- }
- }
- },
- "mappings" : {
- "opendata" : {
- "properties" : {
- "party" : { "type" : "string", "index" : "not_analyzed", "store" : "yes" },
- "name" : { "type" : "string", "index" : "not_analyzed", "store" : "yes" },
- "reason" : { "type" : "string", "index" : "not_analyzed", "store" : "yes" },
- "date" : { "type" : "string", "index" : "not_analyzed", "store" : "yes" }
- }
- }}
- }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement