You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Eric Pugh (JIRA)" <ji...@apache.org> on 2018/06/25 16:40:00 UTC

[jira] [Created] (SOLR-12515) DIH gui should be intelligent about the "clean" being checked option

Eric Pugh created SOLR-12515:
--------------------------------

             Summary: DIH gui should be intelligent about the "clean" being checked option
                 Key: SOLR-12515
                 URL: https://issues.apache.org/jira/browse/SOLR-12515
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: contrib - DataImportHandler
    Affects Versions: 7.3.1
            Reporter: Eric Pugh


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:

bq. 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.
bq. 
bq. 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.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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