lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Leir <>
Subject Re: Clean checkbox on DIH
Date Tue, 02 May 2017 16:31:41 GMT
Would it help to have field validation? If the DIH fields are still default when you press
execute, then field validation puts out a message and blocks any clearing. Just an idea, please
excuse if I am off track. -- Rick

On May 2, 2017 8:53:12 AM EDT, Mahmoud Almokadem <> wrote:
>Thanks Shawn for your clarifications,
>I think showing a confirmation message saying that "The whole index
>will be
>cleaned" when the clean option is checked will be good.
>I always remove the check from the file
>/opt/solr/server/solr-webapp/webapp/tpl/dataimport.html after
>solr but when I upgraded it this time forget to do that and press
>with the check and the whole index cleaned.
>And for the dataimport I always use the old UI cause the new UI doesn't
>show the live update and sometimes doesn't show the configuration. I
>there are many bugs on the new UI.
>On Mon, May 1, 2017 at 4:30 PM, Shawn Heisey <>
>> On 4/28/2017 9:01 AM, Mahmoud Almokadem wrote:
>> > We already using a shell scripts to do our import and using
>> > 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
>> > 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
>> we change the default to be unchecked, from people who didn't verify
>> setting and expected full-import to wipe their index before it
>> 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
>> true for full-import, and false for delta-import.  That's not going
>> 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

Sorry for being brief. Alternate email is rickleir at yahoo dot com 
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message