You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Matthew Sporleder (JIRA)" <ji...@apache.org> on 2016/10/08 15:11:20 UTC

[jira] [Created] (SOLR-9613) core or collection -> dataimport dangerous default

Matthew Sporleder created SOLR-9613:
---------------------------------------

             Summary: core or collection -> dataimport dangerous default
                 Key: SOLR-9613
                 URL: https://issues.apache.org/jira/browse/SOLR-9613
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: web gui
            Reporter: Matthew Sporleder


When browsing to dataimport in the web gui and selecting "delta-import" from the drop down, the "full-import" checkbox selections stay checked, including "clean", which is very dangerous for a delta-import, as it deletes most of your data!

a js event to clear those checkboxes on selection from that dropdown would save a lot of accidental anguish.

{code}
var foo = document.getElementById("command")
function bar() { document.getElementById("clean").checked = false; }
foo.onchange = function() {
  if (foo.value == "delta-import")
    {
      bar();
    }
};
{code}

or whatever



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org