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

DIH gui should be intelligent about the "clean" being checked option

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 7.3.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      The DIH webapp by default has the "clean" checkbox enabled. Clean is very dangerous because you delete all the data first, and then load the data.

      A previous ticket, SOLR-11933 had some suggestions on how best to solve this problem, specifically:

      I think the default of the 'clean' checkbox in the UI should change depending on the type of import selected. This is what happens when using the API directly and the clean parameter is not present.

      If full-import is selected, it should be on, if delta-import is selected, it should be off. (with the option for the user to change the setting, of course)

      This patch applies this logic change.

        Attachments

        1. SOLR-12515.patch
          1 kB
          David Eric Pugh

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                epugh David Eric Pugh
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: