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

Copy request parameters to Solr's response

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. SOLR-59-20061024.patch
          5 kB
          Bertrand Delacretaz
        2. SOLR-59-20061102.patch
          8 kB
          Bertrand Delacretaz
        3. SOLR-59-20061103.patch
          8 kB
          Bertrand Delacretaz
        4. SOLR-59-20061106.patch
          9 kB
          Bertrand Delacretaz
        5. SOLR-59-20061106-newfiles.tar.gz
          2 kB
          Bertrand Delacretaz
        6. SOLR-59-20061213.patch
          25 kB
          Yonik Seeley
        7. SOLR-59-new-files-20061102.tar.gz
          2 kB
          Bertrand Delacretaz

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bdelacretaz Bertrand Delacretaz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: