Open
Description
Currently we rely on python requests
package to make queries against Elasticsearch where we build the queries using JSON kwargs. Instead we want to use python Elasticsearch client package to make all our queries, this would enable us to use some add-on helper functions from the package and also make our Elasticsearch query based unit tests less complex and easy to debug.