Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -XPUT "http://localhost:9200/blog" -d'
- {
- "mappings":{
- "post":{
- "properties":{
- "published":{
- "type": "date"
- },
- "tags":{
- "type":"string"
- },
- "text":{
- "type":"string"
- },
- "title":{
- "type": "string"
- },
- "url":{
- "type": "string"
- }, "tenant":{ "type": "string"}
- }
- }
- }
- }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement