lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-59) Copy request parameters to Solr's response
Date Mon, 06 Nov 2006 09:54:37 GMT
    [ http://issues.apache.org/jira/browse/SOLR-59?page=comments#action_12447405 ] 
            
Bertrand Delacretaz commented on SOLR-59:
-----------------------------------------

To avoid confusion: the current version of my patch is in these attachments:

  SOLR-59-20061106-newfiles.tar.gz
  SOLR-59-20061106.patch

I don't know if there's a way to mark attachments as obsolete in Jira.

> Copy request parameters to Solr's response
> ------------------------------------------
>
>                 Key: SOLR-59
>                 URL: http://issues.apache.org/jira/browse/SOLR-59
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Bertrand Delacretaz
>         Attachments: SOLR-59-20061024.patch, SOLR-59-20061102.patch, SOLR-59-20061103.patch,
SOLR-59-20061106-newfiles.tar.gz, SOLR-59-20061106.patch, SOLR-59-new-files-20061102.tar.gz
>
>
> This patch copies the request parameters (explicit ones only, not the defaults) to Solr's
XML output.
> It is not configurable yet, it is enabled by default and adds a "queryParameters" list
to the responseHeader:
> <responseHeader>
>         <status>0</status>
>         <QTime>1</QTime>
>         <lst name="queryParameters">
>                 <arr name="multi">
>                         <str>red</str>
>                         <str>blue</str>
>                 </arr>
>                 <str name="rows">10</str>
>                 <str name="start">0</str>
>                 <str name="indent">on</str>
>                 <str name="q">solr</str>
>                 <str name="stylesheet"/>
>                 <str name="version">2.1</str>
>         </lst>
> </responseHeader>
> The above example includes a multi-valued parameter, "multi".
> This might still change a bit, but if someone wants to play with it or improve it, here
you go.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message