Ember-CLI test app for ember-data-elasticsearch-kit.
model/elasticsearch.js tries to make the query to a local installation of ElasticSearch "http://localhost:9200/_search?user=kimchy", and returns a 400 bad request.
The responseText is:
"{"error":"SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[sXDKF9BAQ6mUnw_4HUxv4Q][test][0]: SearchParseException[[test][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"user":"kimchy"}]]]; nested: SearchParseException[[test][0]: from[-1],size[-1]: Parse Failure [No parser for element [user]]]; }{[sXDKF9BAQ6mUnw_4HUxv4Q][test][1]: SearchParseException[[test][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"user":"kimchy"}]]]; nested: SearchParseException[[test][1]: from[-1],size[-1]: Parse Failure [No parser for element [user]]]; }{[sXDKF9BAQ6mUnw_4HUxv4Q][test][2]: SearchParseException[[test][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"user":"kimchy"}]]]; nested: SearchParseException[[test][2]: from[-1],size[-1]: Parse Failure [No parser for element [user]]]; }{[sXDKF9BAQ6mUnw_4HUxv4Q][test][3]: SearchParseException[[test][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"user":"kimchy"}]]]; nested: SearchParseException[[test][3]: from[-1],size[-1]: Parse Failure [No parser for element [user]]]; }{[sXDKF9BAQ6mUnw_4HUxv4Q][test][4]: SearchParseException[[test][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"user":"kimchy"}]]]; nested: SearchParseException[[test][4]: from[-1],size[-1]: Parse Failure [No parser for element [user]]]; }]","status":400}"
You will need the following things properly installed on your computer.
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
ember server
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.