Hi,
In a DSpace 4.2 installed instance, there is problem is discovery indexing.

1. With the discovery.cfg entry as "search.server = ${solr.server}/search"
- it was not generating any index with the command
[dspace]/bin/dspace index-discovery -f

2. When it changed to "search.server = http://localhost:8080/solr/search";

running the [dspace]/bin/dspace index-discovery -f
is giving following error. Kindly help to solve the problem to index

Exception: Server at http://localhost:8080/solr/search returned non ok
status:500, message:Internal Server Error
org.dspace.discovery.SearchServiceException: Server at
http://localhost:8080/solr/search returned non ok status:500,
message:Internal Server Error
        at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:480)
        at org.dspace.discovery.IndexClient.main(IndexClient.java:126)
        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:606)
        at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
        at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
Caused by:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Server at http://localhost:8080/solr/search returned non ok status:500,
message:Internal Server Error
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:385)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
        at
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
        at
org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:285)
        at
org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:271)
        at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:446)
        ... 7 more

-- 
Regards

Satya Sahu
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to