Discovery was not enabled, but I tried to enable it. When I got step 4.
where I should run dspace update-discovery-index I got this error:
[dspace@dspace dspace]$ ./bin/dspace update-discovery-index
Exception: Error executing query
org.dspace.discovery.SearchServiceException: Error executing query
at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:376)
at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
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:101)
at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:349)
... 6 more
Caused by: org.apache.solr.common.SolrException: Not Found
Not Found
request: http://localhost/solr/search/select?q=search.resourcetype:2 AND
search.resourceid:1&wt=javabin&version=2
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
Not sure this is relevant though, since Lucene is not installed on this
machine.
Regards
Kai Bjørnenak
||On 10/09/2012 10:14 AM, helix84 wrote:
On Tue, Oct 9, 2012 at 10:04 AM, Kai Bjørnenak <[email protected]> wrote:
Diff shows there are no differences between the two and a replace with
restart made no difference, the only file I can think of that I have
manually edited is the dspace.conf file.
Can you double-check that you didn't leave out any of the steps listed
in here? Discovery configuration format changed sigificantly between
1.7 and 1.8.
https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-EnablingDiscovery
Regards,
~~helix84
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech