Solr
  1. Solr
  2. SOLR-4151

DIH 'debug' mode missing from 4.x UI

    Details

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

      Description

      The new Admin UI in trunk & 4.x supports most of the DIH related functionality but the "debug" options were not implemented.

      http://wiki.apache.org/solr/DataImportHandler#Interactive_Development_Mode

        Issue Links

          Activity

          Hide
          Hoss Man added a comment -

          The key aspect of "debug mode" is adding "debug=true" to the request, which cahnges the way some things are done in DIH.

          Besides adding a checkbox/button to included debug=true in the request, there were two main UI features of the "debug" option that (I think) are really worth considering how to integrate into the 4.x UI...

          • a text area where the user could edit the data-config in the browser, and then clicking the "Debug" button would send that edited text as the "dataConfig" param, telling DIH to use it instead of the default config
          • an IFRAME where the raw XML response would be displayed to the user – in debug mode this raw response includes a "verbose-output" section showing intermediate processing of the documents
          Show
          Hoss Man added a comment - The key aspect of "debug mode" is adding "debug=true" to the request, which cahnges the way some things are done in DIH. Besides adding a checkbox/button to included debug=true in the request, there were two main UI features of the "debug" option that (I think) are really worth considering how to integrate into the 4.x UI... a text area where the user could edit the data-config in the browser, and then clicking the "Debug" button would send that edited text as the "dataConfig" param, telling DIH to use it instead of the default config an IFRAME where the raw XML response would be displayed to the user – in debug mode this raw response includes a "verbose-output" section showing intermediate processing of the documents
          Hide
          Stefan Matheis (steffkes) added a comment -

          Marking as 'Duplicate', not completely correct but imho better than a (stupid) 'Fixed'

          Show
          Stefan Matheis (steffkes) added a comment - Marking as 'Duplicate', not completely correct but imho better than a (stupid) 'Fixed'

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development