lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-184) add echoHandler=true to responseHeader, support echoParams=all
Date Tue, 06 Mar 2007 04:32:24 GMT
add echoHandler=true to responseHeader, support echoParams=all
--------------------------------------------------------------

                 Key: SOLR-184
                 URL: https://issues.apache.org/jira/browse/SOLR-184
             Project: Solr
          Issue Type: Wish
    Affects Versions: 1.2
            Reporter: Ryan McKinley
            Priority: Trivial
             Fix For: 1.2
         Attachments: SOLR-184-EchoHandler.patch

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



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message