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

'Execute Query' in the dashboard does not build the url correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.1
    • Fix Version/s: 4.2, 6.0
    • Component/s: Admin UI
    • Labels:
      None

      Description

      Recently upgraded to 4.1 and started seeing this issue since the upgrade. We also went from single core to multiple core at the same time.

      Steps to reproduce
      1. Select a core from the dashboard.
      2. Select 'Query'
      3. Without changing anything, click 'Execture Query'.
      Expected: 10 hits (or less depending on data indexed) displayed on the screen.
      Observed: See response below.

      http://localhost:8080/solr/coreName/select?
      <?xml version="1.0" encoding="UTF-8"?>
      <response>
      <lst name="responseHeader"><int name="status">0</int><int name="QTime">0</int><lst name="params"/></lst><result name="response" numFound="0" start="0"></result>
      </response>

      Issue: "http://localhost:8080/solr/coreName/select?" is incomplete and "q=:" is not appended to the url.

      Tested on Firefox and Chrome and both suffer from this issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                steffkes Stefan Matheis
                Reporter:
                solr_user Anand
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: