Solr
  1. Solr
  2. SOLR-3111

LukeRequestHandler does not properly handle multi-field fl params. Wildcard should also be honored

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6, 4.0-ALPHA
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      Specifying "&fl=field1 field2" for the LukeRequestHandler results in trying to find a field, you guessed it, "field field2".

      Additionally, it makes sense for some future enhancements, to support fl=*.

      1. SOLR-3111.patch
        5 kB
        Erick Erickson
      2. SOLR-3111-3x.patch
        5 kB
        Erick Erickson

        Issue Links

          Activity

          Erick Erickson created issue -
          Erick Erickson made changes -
          Field Original Value New Value
          Link This issue is related to SOLR-3094 [ SOLR-3094 ]
          Erick Erickson made changes -
          Link This issue is related to SOLR-1931 [ SOLR-1931 ]
          Eric committed 1242150 (2 files)
          Reviews: none

          Fix for SOLR-3111 - fl param not working when more than one field was specified. Also honors * for "all fields"

          Eric committed 1242152 (2 files)
          Hide
          Erick Erickson added a comment -

          NOTE: this needs to be applied after SOLR-1931

          Show
          Erick Erickson added a comment - NOTE: this needs to be applied after SOLR-1931
          Erick Erickson made changes -
          Attachment SOLR-3111.patch [ 12513875 ]
          Attachment SOLR-3111-3x.patch [ 12513876 ]
          Hide
          Erick Erickson added a comment -

          Added tests, fixed code to handle both cases (multiple fl params, * for all fields)

          trunk: r: 1242150
          3.6: r: 1242152

          Show
          Erick Erickson added a comment - Added tests, fixed code to handle both cases (multiple fl params, * for all fields) trunk: r: 1242150 3.6: r: 1242152
          Erick Erickson made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Erick Erickson
              Reporter:
              Erick Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development