Skip to content

Instantly share code, notes, and snippets.

@whunter
Created April 18, 2018 13:07
Show Gist options
  • Save whunter/b86cb45463ceedb87d41f502221add43 to your computer and use it in GitHub Desktop.
Save whunter/b86cb45463ceedb87d41f502221add43 to your computer and use it in GitHub Desktop.
Showing /var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/hyrax-2.1.0.beta1/app/views/hyrax/dashboard/show_admin.html.erb where line #62 raised:
RSolr::Error::Http - 400 Bad Request
Error: {"responseHeader":{"status":400,"QTime":4,"params":{"q":"() AND (system_create_dtsi:[2018-01-17T00:00:00Z TO 2018-01-24T00:00:00Z])","qt":"standard","rows":"0","wt":"json"}},"error":{"metadata":["error-class","org.apache.solr.common.SolrException","root-error-class","org.apache.solr.parser.ParseException"],"msg":"org.apache.solr.search.SyntaxError: Cannot parse '() AND (system_create_dtsi:[2018-01-17T00:00:00Z TO 2018-01-24T00:00:00Z])': Encountered \" \")\" \") \"\" at line 1, column 1.\nWas expecting one of:\n <NOT> ...\n \"+\" ...\n \"-\" ...\n <BAREOPER> ...\n \"(\" ...\n \"*\" ...\n <QUOTED> ...\n <TERM> ...\n <PREFIXTERM> ...\n <WILDTERM> ...\n <REGEXPTERM> ...\n \"[\" ...\n \"{\" ...\n <LPARAMS> ...\n \"filter(\" ...\n <NUMBER> ...\n <TERM> ...\n \"*\" ...\n ","code":400}}
URI: http://localhost:8983/solr/development/select?wt=json&rows=0&q=%28%29+AND+%28system_create_dtsi%3A%5B2018-01-17T00%3A00%3A00Z+TO+2018-01-24T00%3A00%3A00Z%5D%29&qt=standard
Backtrace: /var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/rsolr-2.1.0/lib/rsolr/client.rb:196:in `rescue in execute'
/var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/rsolr-2.1.0/lib/rsolr/client.rb:186:in `execute'
/var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/rsolr-2.1.0/lib/rsolr/client.rb:181:in `send_and_receive'
(eval):2:in `get'
/var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/active-fedora-11.5.2/lib/active_fedora/solr_service.rb:44:in `get'
/var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/active-fedora-11.5.2/lib/active_fedora/solr_service.rb:79:in `count'
/var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/active-fedora-11.5.2/lib/active_fedora/relation/calculations.rb:11:in `count'
/var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/hyrax-2.1.0.beta1/app/services/hyrax/statistics/over_time.rb:34:in `point'
/var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/hyrax-2.1.0.beta1/app/services/hyrax/statistics/over_time.rb:26:in `block in points'
/var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/hyrax-2.1.0.beta1/app/presenters/hyrax/admin/repository_growth_presenter.rb:10:in `each'
/var/local/hydra/data_science_hyrax/vendor/bundle/ruby/2.3.0/gems/hyrax-2.1.0.beta1/app/presenters/hyrax/admin/repository_growth_presenter.rb:10:in `each'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment