Robert Muir created LUCENE-10272:
------------------------------------

             Summary: checkindex: cross-check norms against docCount
                 Key: LUCENE-10272
                 URL: https://issues.apache.org/jira/browse/LUCENE-10272
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir
         Attachments: LUCENE-10272.patch

Spinoff from LUCENE-10271

Despite the current crazy ghost values / elasticsearch abuse of norms, we 
should still cross-check the data in checkindex.

Terms.getDocCount should equal the number of norms (we just ignore the bogus 
ghost values for now).

Currently checkindex is missing really any check of norms: and it turns out 
that non-aborting exceptions create inconsistencies.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to