lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: Clean checkbox on DIH
Date Mon, 01 May 2017 14:30:24 GMT
On 4/28/2017 9:01 AM, Mahmoud Almokadem wrote:
> We already using a shell scripts to do our import and using fullimport
> command to do our delta import and everything is doing well several
> years ago. But default of the UI is full import with clean and commit.
> If I press the Execute button by mistake the whole index is cleaned
> without any notification.

I understand your frustration.  What I'm worried about is the fallout if
we change the default to be unchecked, from people who didn't verify the
setting and expected full-import to wipe their index before it started
importing, just like it has always done for the last few years.

The default value for the clean parameter when NOT using the admin UI is
true for full-import, and false for delta-import.  That's not going to
change.  I firmly believe that the admin UI should have the same
defaults as the API itself.  The very nature of a full-import carries
the implication that you want to start over with an empty index.

What if there were some bright red text in the UI near the execute
button that urged you to double-check that the "clean" box has the
setting you want?  An alternate idea would be to pop up a yes/no
verification dialog on execute when the clean box is checked.

Thanks,
Shawn


Mime
View raw message