[
https://issues.apache.org/jira/browse/SOLR-17136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18045933#comment-18045933
]
Isabelle Giguere commented on SOLR-17136:
-----------------------------------------
[~epugh] While I'm in there, do we want a MetricsRequest ? To force method
GET and request type ADMIN.
It would still just return a generic response, because, honestly, I looked at
the metrics documentation, and there's just too many variants to hope for a
specifc MetricsResponse implementation (or at least, I'm not getting into that).
> Replace most uses of GenericSolrRequest in Solr code
> ----------------------------------------------------
>
> Key: SOLR-17136
> URL: https://issues.apache.org/jira/browse/SOLR-17136
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Affects Versions: 10.0
> Reporter: Jason Gerlowski
> Priority: Major
> Labels: newdev, pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> GenericSolrRequest, a SolrRequest implementation that can be used to make
> requests to arbitrary endpoints via a specified HTTP method and path, is used
> in 50-60 places through Solr's codebase.
> In most of these places, it's used as a "last resort" because SolrJ doesn't
> offer a more specific SolrRequest implementation that covers the API the
> developer wanted to use.
> Where this is the case, we should fill these gaps in SolrJ with new
> SolrRequest implementations and remove the usage of GSR.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]