[
https://issues.apache.org/jira/browse/SOLR-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127287#comment-13127287
]
Jun Ohtani commented on SOLR-2832:
----------------------------------
Hi Kobayashi-san.
If you set the value of connectionTimeout to server.xml,
SolrJ will be an error when the time of Optimize is larger than the value.
Please check server.xml.
Probably, this is not a bug.
> SolrException: Internal Server Error occurs when optimize index files
> ---------------------------------------------------------------------
>
> Key: SOLR-2832
> URL: https://issues.apache.org/jira/browse/SOLR-2832
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.4
> Environment: CentOS 5.6
> Tomcat 6.0.29
> Java 1.6
> Reporter: Kobayashi
>
> SolrException: Internal Server Error occurs when optimize index files
> When I call optimize() using SolrJ I receive the following error:
> org.apache.solr.common.SolrException: Internal Server Error
> Internal Server Error
> request: http://10.29.24.51/solr/update
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
> org.apache.solr.client.solrj.SolrServer.optimize(SolrServer.java:94)
> org.apache.solr.client.solrj.SolrServer.optimize(SolrServer.java:82)
> Here is my situation:
> - After committing all of my documents, there are 2 segments files and 385
> index files of total 5.4GB
> - Calling optimize(), with no parameters.
> - About 5 minutes later, the Solr exception occurs.
> - The index files are seem to be merged into 11 files.
> - The index is searchable with no stress.
> - There are no error logs out in catalina when the SolrException occurs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]