Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5924

Rename checkindex's -fix option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      This option is dangerous. It sounds so good though that people are quick to use it, but it definitely drops entire segments.

      The commandline flag should be someting other than -fix (e.g. -exorcise).

      I dont agree with the current description of the option either. True, it does have *WARNING* but I think it should read more like the scary options in 'man hdparm'.

      Like hdparm, we could fail if you provide it with an even more ridiculous warning, and make you run again with --yes-i-really-know-what-i-am-doing as well.

      Attachments

        1. LUCENE-5924.patch
          10 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: