You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/04/29 00:59:00 UTC

[jira] [Commented] (SOLR-9572) config API to show expanded useParams for request handlers inline

    [ https://issues.apache.org/jira/browse/SOLR-9572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335082#comment-17335082 ] 

ASF subversion and git services commented on SOLR-9572:
-------------------------------------------------------

Commit dadfd880e8e261767bcf22e7d00a33d11a0182c7 in lucene-solr's branch refs/heads/branch_8x from Gus Heck
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=dadfd88 ]

SOLR-9572 CHANGES.txt entry


> config API to show expanded useParams for request handlers inline
> -----------------------------------------------------------------
>
>                 Key: SOLR-9572
>                 URL: https://issues.apache.org/jira/browse/SOLR-9572
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>             Fix For: 6.3, 7.0
>
>         Attachments: SOLR-9572.patch, SOLR-9572.patch
>
>
> sample request
> {{http://localhost:8983/solr/gettingstarted/config/requestHandler?expandParams=true&componentName=/browse}}
> The new parameter is expandParams and it expands all the params and will show all the params expanded individually and cumulative
> response:
> {code:JavaScript}
> {
>    "config":{"requestHandler":{"/browse":{
>         "name":"/browse",
>         "class":"solr.SearchHandler",
>         "useParams":"query,facets,velocity,browse",
>         "defaults":{"echoParams":"explicit"},
>         "_useParamsExpanded_":{
>           "query":{
>             "defType":"edismax",
>             "q.alt":"*:*",
>             "rows":"10",
>             "fl":"*,score",
>             "":{"v":0}},
>           "facets":{
>             "facet":"on",
>             "facet.mincount":"1",
>             "":{"v":0}},
>           "velocity":{
>             "wt":"velocity",
>             "v.template":"browse",
>             "v.layout":"layout",
>             "":{"v":0}},
>           "browse":"[NOT AVAILABLE]"},
>         "_effectiveParams_":{
>           "q.alt":"*:*",
>           "indent":"true",
>           "echoParams":"explicit",
>           "v.layout":"layout",
>           "fl":"*,score",
>           "rows":"10",
>           "v.template":"browse",
>           "defType":"edismax",
>           "facet.mincount":"1",
>           "wt":"json",
>           "facet":"on"}}}}}
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org