[ 
https://issues.apache.org/jira/browse/SOLR-9572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Noble Paul updated SOLR-9572:
-----------------------------
    Attachment: SOLR-9572.patch

tests added

> config API to show the parameters used for request handlers inline
> ------------------------------------------------------------------
>
>                 Key: SOLR-9572
>                 URL: https://issues.apache.org/jira/browse/SOLR-9572
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>         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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to