[
https://issues.apache.org/jira/browse/SOLR-17810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035524#comment-18035524
]
Gaurav Tuli commented on SOLR-17810:
------------------------------------
The latest checkout on my machine is #3554 . Taken two classes Http2SolrClient
and Http2SolrClientTest.Put a breakpoint at line 702. On debugging SolrRequest
header is showing type as UPDATE / QUERY.In case of QUERY rate limiting should
happen as per documentation.
> RateLimiting doesn't work for non-Apache Http SolrClients
> ---------------------------------------------------------
>
> Key: SOLR-17810
> URL: https://issues.apache.org/jira/browse/SOLR-17810
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Reporter: David Smiley
> Priority: Major
> Labels: newdev
>
> Solr's rate limiting SOLR-13528 needs to know the request type to do its job.
> This is passed as a HTTP header, but at present only the deprecated
> HttpSolrClient is doing this. The others should too! See this comment Just
> now.
> All we have to do is ensure that the Jetty & JDK based HTTP SolrClients pass
> on an HTTP header, just like the Apache one does. Hopefully this can happen
> in their base class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]