GitHub user gmandal opened a pull request:
https://github.com/apache/lucene-solr/pull/185
SOLR-10487: Added support to specify connection and socket read timeout in
DataImportHandler for SolrEntityProcessor.
Includes changes for
[SOLR-10487](https://issues.apache.org/jira/browse/SOLR-10487).
Added two more attributes to
[SolrEntityProcessor](https://wiki.apache.org/solr/DataImportHandler#SolrEntityProcessor)
in DataImportHandler.
`connectionTimeout` to set the Connection Timeout
`readTimeout` to set Socket Read Timeout
Additionally renamed `timeout` to `queryTimeout` to differentiate between
the various timeouts. The older `timeout` is still retained to ensure backward
compatibility. `timeout `would act same as `queryTimeout`.
The two new attributes would accept values in the same format and unit (int
seconds) as the existing query timeout attribute.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gmandal/lucene-solr SOLR-10487
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/185.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #185
----
commit 91083a84c024ba8bcfafba6c63a0b085c32ec46d
Author: gmandal <[email protected]>
Date: 2017-04-13T12:14:43Z
SOLR-10487: Added support to specify connection and socket read timeout.
connectionTimeout and readTimeout attributes added to
SolrEntityProcessor in DataImportHandler to avoid freeze issues.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]