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 12:18:00 UTC

[jira] [Updated] (LUCENE-10271) norms are inconsistent with postings

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

Robert Muir updated LUCENE-10271:
---------------------------------
    Attachment: LUCENE-10271_prototype.patch

> norms are inconsistent with postings
> ------------------------------------
>
>                 Key: LUCENE-10271
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10271
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Major
>         Attachments: LUCENE-10271_prototype.patch
>
>
> See discussion: https://github.com/apache/lucene/pull/477
> We should not write any norms when there are no postings. And the number of docs which have norms for a field should exactly match the number of docs with postings for the field (getDocCount).
> We shouldn't write crazy norms like 0 for docs without tokens, nor should we have crazy query behavior to try to compensate for elasticsearch users that are using the wrong analysis chain.



--
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