Skip to content

Instantly share code, notes, and snippets.

@roycehaynes
Created January 12, 2012 15:04
Show Gist options
  • Save roycehaynes/1601002 to your computer and use it in GitHub Desktop.
Save roycehaynes/1601002 to your computer and use it in GitHub Desktop.
curl -XGET 'http://localhost:9200/lawyer/profile/_mapping?pretty=true'
{
"profile" : {
"properties" : {
"profile" : {
"properties" : {
"summary" : {
"type" : "string"
},
"headline" : {
"type" : "string"
},
"user_ptr_id" : {
"type" : "long"
},
"payment_time" : {
"type" : "string"
},
"linkined_in_pic_url" : {
"type" : "string"
},
"thumbnail" : {
"type" : "string"
},
"linkedin_id" : {
"type" : "string"
},
"payment_rate" : {
"type" : "long"
},
"practice_location" : {
"type" : "multi_field",
"fields" : {
"practice_location" : {
"type" : "string"
},
"untouched" : {
"include_in_all" : false,
"index" : "not_analyzed",
"type" : "string"
}
}
},
"cloud_slug" : {
"type" : "string"
},
"facebook_id" : {
"type" : "string"
},
"payment_max_rate" : {
"type" : "long"
},
"payment_min_rate" : {
"type" : "long"
},
"industry" : {
"type" : "string"
},
"payment_type" : {
"type" : "string"
},
"full_name" : {
"type" : "string"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment