You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "James Dyer (Jira)" <ji...@apache.org> on 2024/04/03 17:34:00 UTC
[jira] [Resolved] (SOLR-17211) HttpJdkSolrClient: Support Async
[ https://issues.apache.org/jira/browse/SOLR-17211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Dyer resolved SOLR-17211.
-------------------------------
Resolution: Fixed
> HttpJdkSolrClient: Support Async
> ---------------------------------
>
> Key: SOLR-17211
> URL: https://issues.apache.org/jira/browse/SOLR-17211
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrJ
> Reporter: James Dyer
> Assignee: James Dyer
> Priority: Minor
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> With SOLR-599 we added a new SolrJ client *HttpJdkSolrClient* which uses *java.net.http.HttpClient* internally. This JDK client supports asynchronous requests, so the Jdk Solr Client likewise can have async support. This ticket is to:
> 1. Extract from *Http2SolrClient* method
> {code:java}
> public Cancellable asyncRequest(
> SolrRequest<?> solrRequest,
> String collection,
> AsyncListener<NamedList<Object>> asyncListener)
> {code}
> 2. Implement on *HttpJdkSolrClient*
> 3. Add javadoc for both clients.
> 4. Add unit tests for both clients.
--
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