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

  • No labels

1 Comment

  1. Hi Alex,

    My apologies for the delayed response.

    At this point, this discussion forum is being used to by the DSpace Community Advisory Team (DCAT) to discuss new feature requests in JIRA. If you have a DSpace question I would recommend you first search the DSpace mailing lists archive to see if anyone has asked your question before (http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/) or search the DSpace Documentation (https://wiki.duraspace.org/display/DSDOC/DSpace+Documentation). If you don't find help from those searches, please post your message to the DSpace Tech mailing list (http://www.dspace.org/index.php?option=com_content&Itemid=22&catid=77&id=527&view=article) to see if someone can help you -- and also so others in the community can benefit from your question.

    Best wishes!

    -Valorie