Created
November 16, 2011 15:07
-
-
Save Alex-Ikanow/1370278 to your computer and use it in GitHub Desktop.
Facets causing memory problems in 0.17.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XGET 'http://betadev:9200/document_index,doc_COMMUNITYID/document_index' -d ' | |
{ | |
"query":{ | |
"bool":{ | |
"must":[{ | |
"bool":{ | |
"must":{ | |
"match_all":{} | |
} | |
} | |
}, | |
{ | |
"constant_score":{ | |
"filter":{ | |
"bool":{ | |
"must":{ | |
"terms":{ | |
"groupids":["COMMUNITYID" | |
] | |
} | |
} | |
} | |
} | |
} | |
} | |
] | |
} | |
}, | |
"facets":{ | |
"geo":{ | |
"terms":{ | |
"field":"locs", | |
"size":0 | |
} | |
}, | |
"events":{ | |
"terms":{ | |
"field":"events.event_index", | |
"size":10, | |
"regex":"^Event\\|.*" | |
} | |
} | |
}, | |
"size":1000 | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment