[Dspace-tech] Discovery indexing problem

21 views
Skip to first unread message

Satya

unread,
Aug 26, 2015, 2:49:48 PM8/26/15
to DSpace
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

Reply all
Reply to author
Forward
0 new messages