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

add CheckIndex -fast option

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1, 6.0
    • None
    • None
    • New

    Description

      CheckIndex is great for testing and when tracking down lucene bugs.

      But in cases where users just want to verify their index files are OK, it is very slow and expensive.

      I think we should add a -fast option, that only opens the reader and calls checkIntegrity(). This means all files are the correct files (identifiers match) and have the correct CRC32 checksums.

      For our 10M doc wikipedia index, this is the difference between a 2 second check and a 2 minute check.

      Attachments

        1. LUCENE-6341.patch
          9 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: