Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Hi, guys,

I was trying to turn on the discovery feature of Dspace foliowing the wiki, however when executing the update-discovery-index there turns out to have following errors.

Can anyone help?

Exception: Error executing query
org.dspace.discovery.SearchServiceException: Error executing query
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:380)
at org.dspace.discovery.IndexClient.main(IndexClient.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing query
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
at org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:105)
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:353)
... 6 more
Caused by: org.apache.solr.common.SolrException: Bad Request

Bad Request

request: http://localhost:8080/solr/select?q=search.resourcetype:2 AND search.resourceid:1&wt=javabin&version=1
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
... 9 more