lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Rafalovitch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-9572) config API to show expanded useParams for request handlers inline
Date Sun, 06 Nov 2016 04:12:58 GMT

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

Alexandre Rafalovitch commented on SOLR-9572:
---------------------------------------------

Then it is a bug. Can you reopen this issue or take over the other issue then and fix it within
that (feel free to rename). Or do you need me to give you anything else?

> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>             Fix For: 6.3, master (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
(v6.3.4#6332)

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


Mime
View raw message