Solr
  1. Solr
  2. SOLR-3982

Admin UI: Various Dataimport Improvements

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: web gui
    • Labels:
      None

      Description

      Started with Shawn's Request about a small refresh link, one change leads to the next, which is the reason why i changed this issue towards a more common one

      This Patch brings:

      • A "Refresh Status" Button
      • A "Abort Import" Button
      • Improved Status-Handling
        (was buggy if you have multiple Cores with Handlers for Dataimport defined and you switched the view while at least one was running)
      • Additional Stats on Rows/Documents
        (on-the-fly calculated "X Docs/second")
      • less buggy duration-to-readable-time conversion
        (until now resulted in NaN's showing up on your Screen)

      Original Description:

      The dataimport section under each core on the admin gui does not provide a way to get the current import status. I actually would like to see it automatically pull the status as soon as you click on "Dataimport" ... I have never seen an import status with a qtime above 1 millisecond. A refresh icon/link would be good to have as well.

      Additional note: the resulting URL in the address bar is a little odd:
      http://server:port/solr/#/corename/dataimport//dataimport

      Although i gave a short explanation on the URL looking a bit odd:

      The first "dataimport" is required for the UI to detect which section you're browsing .. the second "/dataimport" (including the slash, yes) is coming from your solrconfig

      1. SOLR-3982.patch
        45 kB
        Stefan Matheis (steffkes)
      2. SOLR-3982.patch
        44 kB
        Stefan Matheis (steffkes)
      3. SOLR-3982.patch
        22 kB
        Stefan Matheis (steffkes)

        Issue Links

          Activity

          Hide
          Stefan Matheis (steffkes) added a comment -

          Updated Patch incorporates SOLR-4151 (normally i tried to handle issues separately, but this time it's easier to combine them)

          Additionally changed:

          • Show Info-Area also for 'idle' status
          • Make Auto-Refresh optional via Checkbox
          • Requests are now JSON and no longer XML
            (Excluding the Configuration which is only available in XML)
          Show
          Stefan Matheis (steffkes) added a comment - Updated Patch incorporates SOLR-4151 (normally i tried to handle issues separately, but this time it's easier to combine them) Additionally changed: Show Info-Area also for 'idle' status Make Auto-Refresh optional via Checkbox Requests are now JSON and no longer XML (Excluding the Configuration which is only available in XML)
          Hide
          Stefan Matheis (steffkes) added a comment -

          After a quick chat with Shawn Heisey, we decided to show the animated spinner only if "auto-refresh" is activated, otherwise the user might be confused.

          Show
          Stefan Matheis (steffkes) added a comment - After a quick chat with Shawn Heisey , we decided to show the animated spinner only if "auto-refresh" is activated, otherwise the user might be confused.
          Hide
          Commit Tag Bot added a comment -

          [trunk commit] Stefan Matheis
          http://svn.apache.org/viewvc?view=revision&revision=1431756

          SOLR-3982: Admin UI: Various Dataimport Improvements

          Show
          Commit Tag Bot added a comment - [trunk commit] Stefan Matheis http://svn.apache.org/viewvc?view=revision&revision=1431756 SOLR-3982 : Admin UI: Various Dataimport Improvements
          Hide
          Commit Tag Bot added a comment -

          [branch_4x commit] Stefan Matheis
          http://svn.apache.org/viewvc?view=revision&revision=1431758

          SOLR-3982: Admin UI: Various Dataimport Improvements (merge r1431756)

          Show
          Commit Tag Bot added a comment - [branch_4x commit] Stefan Matheis http://svn.apache.org/viewvc?view=revision&revision=1431758 SOLR-3982 : Admin UI: Various Dataimport Improvements (merge r1431756)

            People

            • Assignee:
              Stefan Matheis (steffkes)
              Reporter:
              Shawn Heisey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development