Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9569 Moving to a unified solrconfig experience
  3. SOLR-9572

config API to show expanded useParams for request handlers inline

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      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:

      {
         "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"}}}}}
      

        Attachments

        1. SOLR-9572.patch
          13 kB
          Noble Paul
        2. SOLR-9572.patch
          11 kB
          Noble Paul

          Activity

            People

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              noble.paul Noble Paul
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: