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

CheckIndex should verify numUniqueTerms == recomputedNumUniqueTerms

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4, 4.0-ALPHA
    • Fix Version/s: 3.5, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Just glancing at the code it seems to sorta do this check, but only in the hasOrd==true case maybe (which seems to be testing something else)?

      It would be nice to verify this also for terms dicts that dont support ord.

      we should add explicit checks per-field in 4.x, and for-all-fields in 3.x and preflex

        Attachments

        1. LUCENE-3473.patch
          17 kB
          Robert Muir
        2. LUCENE-3473.patch
          17 kB
          Robert Muir
        3. LUCENE-3473.patch
          13 kB
          Robert Muir
        4. LUCENE-3473.patch
          12 kB
          Robert Muir

        Issue Links

          Activity

            People

            • Assignee:
              rcmuir Robert Muir
              Reporter:
              rcmuir Robert Muir

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment