[ https://issues.apache.org/jira/browse/LUCENE-9999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17382441#comment-17382441 ]
ASF subversion and git services commented on LUCENE-9999: --------------------------------------------------------- Commit 215e4a5882c540ff9667455c30a707c629e83675 in lucene-solr's branch refs/heads/branch_8x from Julie Tibshirani [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=215e4a5 ] LUCENE-9999: CombinedFieldQuery can fail with an exception when document is missing fields (#185) This change fixes a bug in `MultiNormsLeafSimScorer` that assumes that each field should have a norm for every term/document. As part of the fix, it adds validation that the fields have consistent norms settings. > CombinedFieldQuery can fail when document is missing fields > ----------------------------------------------------------- > > Key: LUCENE-9999 > URL: https://issues.apache.org/jira/browse/LUCENE-9999 > Project: Lucene - Core > Issue Type: Bug > Reporter: Julie Tibshirani > Priority: Major > Time Spent: 2h 10m > Remaining Estimate: 0h > > If some documents match but don't contain all fields, then > {{CombinedFieldQuery}} can fail when attempting to compute norms. This is > because {{MultiFieldNormValues}} assumes all fields in the document have > norms. > Originally surfaced in this Elasticsearch issue: > https://github.com/elastic/elasticsearch/issues/74037. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org