You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2007/04/03 03:02:32 UTC

[jira] Updated: (SOLR-184) add echoHandler=true to responseHeader, support echoParams=all

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

Ryan McKinley updated SOLR-184:
-------------------------------

    Attachment: SOLR-184-EchoHandler.patch

Update to apply cleanly with trunk...

> 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, SOLR-184-EchoHandler.patch, 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.