I am trying to enable Discovery in my Dspace 1.7.1 installation, however I 
cannot seem to update the index, see the error below.  I am hoping someone
can shed some light on this error:

[dspace@dspace dspace-1.7.1]$ ./bin/dspace update-discovery-index
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/solr/search/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

[dspace@dspace dspace-1.7.1]$ wget 
'http://localhost/solr/search/select?q=search.resourcetype:2'
--2011-05-31 09:15:58--  
http://localhost/solr/search/select?q=search.resourcetype:2
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
2011-05-31 09:15:58 ERROR 400: Bad Request.

-------------------------
Philip Shafer
Web Developer
Rowan Univeristy
Library Services
Ph: 856-256-4418
E-mail: [email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to