all: use jsonhttp
Add Search functionality to the API

This change includes functionality to parse the search API parameters,
build a search DSL and perform the search against elasticsearch.
Merge pull request #135 from mhilton/refresh-index

Add Search functionality to the API

This change includes functionality to parse the search API parameters, build a search DSL and perform the search against elasticsearch.
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.
params: add TODO to rename ErrorInfo
Merge pull request #137 from rogpeppe/060-use-jsonhttp

all: use jsonhttp

Also sort imports in the standard way.