You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Faye (Jira)" <ji...@apache.org> on 2025/09/16 14:08:00 UTC
[jira] [Resolved] (SOLR-17919) HttpJdkSolrClient ignoring timeout arguments implicitly
[ https://issues.apache.org/jira/browse/SOLR-17919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Faye resolved SOLR-17919.
-------------------------
Resolution: Fixed
Fixed in https://github.com/apache/solr/commit/dd89cd604a6dd563f15dfcec4f7a9ce5076b2410
> HttpJdkSolrClient ignoring timeout arguments implicitly
> -------------------------------------------------------
>
> Key: SOLR-17919
> URL: https://issues.apache.org/jira/browse/SOLR-17919
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Affects Versions: 9.8.1
> Reporter: Faye
> Priority: Minor
> Attachments: image-2025-09-16-15-43-45-163.png
>
>
> When using the HttpJdkSolrClient you can configure different timeouts with the HttpJdkSolrClient.Builder. However, connectionTimeout implicitly gets ignored as the underlying HTTP Client doesn't support that timeout. Furthermore, idleTimeout unexpectedly sets the same value in the underlying HTTP Client as requestTimeout.
> I think this should either be documented, or the Builder should be changed to not accept these values when using HttpJdkSolrClient.
> !image-2025-09-16-15-43-45-163.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org