Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-184

add echoHandler=true to responseHeader, support echoParams=all

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None

      Description

      optionally return what handler was used in the response header. This patch also extends echoParams so that it supports 'all' and 'none'

      It makes a small API change to the protected SolrCore.setResponseHeaderValues() – it now passes in the handler that was used.

      Some URLs to check (but remember that the /debug/dump handler prints out its own 'params')

      http://localhost:8983/solr/debug/dump
      http://localhost:8983/solr/debug/dump?echoParams=all&param1=A
      http://localhost:8983/solr/debug/dump?echoParams=explicit&param1=A
      http://localhost:8983/solr/debug/dump?echoParams=false&param1=A

      to keep things reasonable, i'm mapping:
      echoParams=true >> explicit
      echoParams=false >> none

        Attachments

        1. SOLR-184-EchoHandler.patch
          5 kB
          Ryan McKinley
        2. SOLR-184-EchoHandler.patch
          6 kB
          Ryan McKinley
        3. SOLR-184-EchoHandler.patch
          5 kB
          Ryan McKinley

          Issue Links

            Activity

              People

              • Assignee:
                ehatcher Erik Hatcher
                Reporter:
                ryantxu Ryan McKinley
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: