Convert an OData filter query to an elasticsearch query.