Currently we user a 'query_string' type of query for all ES searches.
ES provides a more robust query interface with boolean must/shuld/must_not options.
This patchset will pull code from bug 14567 to allow for building queries on this interface
Created attachment 61664 [details] [review]
Bug 18345 - Add a more ES based query builder
This moves some code from bug 14567