[
https://issues.apache.org/jira/browse/SOLR-17810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035205#comment-18035205
]
Gaurav Tuli commented on SOLR-17810:
------------------------------------
According to documentation rate limiter is valid for only request-type QUERY.
[https://solr.apache.org/guide/solr/latest/deployment-guide/rate-limiters.html]
.If request-type is not being passed in header rate limiting will not happen
.This is not happening for 1) JDK 2) jetty http solr clients. Are there any
other http solr clients besides the ones mentioned where request type is not
passed.
> 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]