You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Robert Muir (Jira)" <ji...@apache.org> on 2021/11/30 20:42:00 UTC

[jira] [Resolved] (LUCENE-10272) checkindex: cross-check norms against docCount

     [ https://issues.apache.org/jira/browse/LUCENE-10272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-10272.
----------------------------------
    Fix Version/s: 9.1
       Resolution: Fixed

Fixed, without tackling non-aborting exceptions in IndexWriter. We may still revisit that one later, to simplify CheckIndex.

> 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
>            Priority: Major
>             Fix For: 9.1
>
>         Attachments: LUCENE-10272.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org