Refactor search to work with new endpoints.
Refactor search to work with new endpoints.

ongr-io/ElasticsearchDSL,asev/ElasticsearchDSL,saimaz/ElasticsearchDSL,mansimas/ElasticsearchDSL,abhiesa-tolexo/ElasticsearchDSL,tadcka/ElasticsearchDSL