You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Julie Tibshirani (Jira)" <ji...@apache.org> on 2021/07/28 08:58:00 UTC
[jira] [Created] (LUCENE-10039) With a single field,
CombinedFieldQuery can score incorrectly
Julie Tibshirani created LUCENE-10039:
-----------------------------------------
Summary: With a single field, CombinedFieldQuery can score incorrectly
Key: LUCENE-10039
URL: https://issues.apache.org/jira/browse/LUCENE-10039
Project: Lucene - Core
Issue Type: Bug
Reporter: Julie Tibshirani
When there's only one field, {{CombinedFieldQuery}} will ignore its weight while scoring. This makes the scoring inconsistent, since the field weight is supposed to multiply its term frequency.
This can also come up when searching over multiple fields, when some segment happens to contain only one field. The problem was caught by this test:
{code}
ant test -Dtestcase=TestCombinedFieldQuery -Dtests.method=testCopyFieldWithMissingFields -Dtests.seed=8FA982798BC8FEF6 -Dtests.nightly=true
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org