SolrException: Internal Server Error

前端 未结 5 753
小蘑菇
小蘑菇 2020-12-30 09:36

I am working on Solr in my application. I am using apache-solr-solrj-1.4.0.jar.

When I try to call add(SolrInputDocument doc) from Common

5条回答
  •  失恋的感觉
    2020-12-30 10:25

    It comes from failing to remove write.lock file after some update actions. Removing the write.lock in the core's data/index folder will solve this problem temporarily and regain updating action. I know using post.jar to update has more bad luck to cause this problem, whereas url with stream.body rarely cause this problem. Karussel's answer did improves the situation but seems not solve it at all. I doubt it comes from some design issue of Solr. Hope Solr 4 has solved this problem. Also one can refer to the answer in this question: how-to-solve-the-lock-obtain-timed-out-when-using-solr-plainly

提交回复
热议问题