Use ES _aliases, which returns json, for easier parsing.
Merge pull request #138 from bac/list-indices

Use ES _aliases, which returns json, for easier parsing.

The old endpoint on elasticsearch returned a string, which had to be parsed. Easier to get digestible JSON.
Updated search requests

Reworked the elasticserch DSL generation to be simpler. Make use
of ngrams for autocomplete search.
Merge pull request #139 from mhilton/search-ngrams

Updated search requests

Reworked the elasticserch DSL generation to be simpler. Make use of ngrams for autocomplete search.