Skip to content

Instantly share code, notes, and snippets.

@etdebruin
Created June 11, 2014 21:30
Show Gist options
  • Save etdebruin/13d36a7a93d39b2d2a56 to your computer and use it in GitHub Desktop.
Save etdebruin/13d36a7a93d39b2d2a56 to your computer and use it in GitHub Desktop.
Failing tests
1) Search::Engines::ClassifiedEngine a new engine object returns a Stretcher::SearchResults object when calling search
Failure/Error: response = @engine.search
Stretcher::RequestError:
Error processing request (503)! get URL: http://localhost:9200/musolist_test_classifieds/_search
Resp Body: #<Hashie::Mash error="SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]" status=503>
# ./app/search/search/engines/classified_engine.rb:192:in `search'
# ./spec/search/engines/classified_engine_spec.rb:51:in `block (3 levels) in <top (required)>'
2) Search::Engines::ClassifiedEngine a new engine object returns an empty array of results when calling search
Failure/Error: response = @engine.search
Stretcher::RequestError:
Error processing request (503)! get URL: http://localhost:9200/musolist_test_classifieds/_search
Resp Body: #<Hashie::Mash error="SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]" status=503>
# ./app/search/search/engines/classified_engine.rb:192:in `search'
# ./spec/search/engines/classified_engine_spec.rb:56:in `block (3 levels) in <top (required)>'
3) Search::Engines::GearEngine a new engine object returns a Stretcher::SearchResults object when calling search
Failure/Error: response = @engine.search
Stretcher::RequestError:
Error processing request (503)! get URL: http://localhost:9200/musolist_test_gear/_search
Resp Body: #<Hashie::Mash error="SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]" status=503>
# ./app/search/search/engines/gear_engine.rb:184:in `search'
# ./spec/search/engines/gear_engine_spec.rb:51:in `block (3 levels) in <top (required)>'
4) Search::Engines::GearEngine a new engine object returns an empty array of results when calling search
Failure/Error: response = @engine.search
Stretcher::RequestError:
Error processing request (503)! get URL: http://localhost:9200/musolist_test_gear/_search
Resp Body: #<Hashie::Mash error="SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]" status=503>
# ./app/search/search/engines/gear_engine.rb:184:in `search'
# ./spec/search/engines/gear_engine_spec.rb:56:in `block (3 levels) in <top (required)>'
@etdebruin
Copy link
Author

Looks like maybe I need to create these indices first?

http://localhost:9200/musolist_test_classifieds/_search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment