dimagi/core-hq — pull request #161 by dmyung (2012-10-30 00:34:23+00:00)
Title: fixes on the case api search

* add error handling when elasticsearch returns an error on a bad query
* fixup bad query corner case due to blank AND statement
* change domain filter to use match instead of term - as domains-with-hyphens don't yield hits when using term.