Skip to content

Instantly share code, notes, and snippets.

@skanderm
Created February 1, 2013 02:25
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 skanderm/8a615e701eb31ff2e250 to your computer and use it in GitHub Desktop.
Save skanderm/8a615e701eb31ff2e250 to your computer and use it in GitHub Desktop.
{
"query": {
"bool": {
"must": [
{
"term": {
"region": {
"term": "US"
}
}
},
{
"term": {
"role_requirements.need": {
"term": true
}
}
},
{
"term": {
"role_requirements.weight_class_id": {
"term": 4
}
}
},
{
"term": {
"role_requirements.role_id": {
"term": 2
}
}
}
]
}
}
}
{
"query": {
"bool": {
"must": [
{
"term": {
"region": {
"term": "US"
}
}
},
{
"term": {
"role_requirements.need": {
"term": true
}
}
},
{
"term": {
"role_requirements.weight_class_id": {
"term": 2
}
}
}
]
}
},
"size": 10
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment