Skip to content

Instantly share code, notes, and snippets.

@jkva
Created December 5, 2011 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkva/1434945 to your computer and use it in GitHub Desktop.
Save jkva/1434945 to your computer and use it in GitHub Desktop.
curl -XGET 'http://127.0.0.1:9200/brandweer/video/_mapping?pretty=1'
# [Mon Dec 5 20:37:38 2011] Response:
# {
# "video" : {
# "properties" : {
# "owner" : {
# "type" : "string"
# },
# "video_type" : {
# "type" : "string"
# },
# "status" : {
# "type" : "string"
# },
# "published" : {
# "type" : "long"
# },
# "created" : {
# "type" : "long"
# },
# "video_id" : {
# "type" : "string"
# },
# "text" : {
# "type" : "string"
# },
# "shorturl" : {
# "type" : "string"
# },
# "title" : {
# "type" : "string"
# },
# "updated" : {
# "type" : "long"
# }
# }
# }
# }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment