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/03/06 05:32:24 UTC

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

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.


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

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ 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

> 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.


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

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher reassigned SOLR-184:
---------------------------------

    Assignee: Erik Hatcher

> 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
>         Assigned To: Erik Hatcher
>            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.


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

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher resolved SOLR-184.
-------------------------------

    Resolution: Fixed

committed, and added unit test too.

> 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
>         Assigned To: Erik Hatcher
>            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.


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

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ 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

updated 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
>
>
> 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.