Bug #116572 | Inconsistent MATCH() Relevance Scores in BOOLEAN MODE When Grouping Results | ||
---|---|---|---|
Submitted: | 6 Nov 2024 19:58 | Modified: | 8 Nov 2024 19:12 |
Reporter: | Noman Waseem | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | full-text search |
[6 Nov 2024 19:58]
Noman Waseem
[6 Nov 2024 20:03]
Noman Waseem
"...the value of COUNT(DISTINCT si.id) when grouped by MATCH() AGAINST() relevance score does not match the actual number of rows when running the un-grouped query and manually counting the number of distinct si.id's for a given relevance score." Should have been: "...a query grouped by MATCH() AGAINST() relevance score does not show the correct relevance score as compared to the same un-grouped query where I manually count the number of rows that have a given relevance score."
[7 Nov 2024 10:16]
MySQL Verification Team
HI Mr. Waseem, Thank you for your bug report. However, let us inform you that this is a forum for the reports with fully repeatable test cases. Each of those test cases should consist of a set of SQL statements that always shows the problem that you are reporting. You have not provided any of the relevant test cases which would make visible the problems that you are reporting. Hence, we can not continue to process your report. Also, version 8.2 is no longer supported, so please use either latest 8.0 or 8.4 or 9.1.0. Can't repeat.
[7 Nov 2024 21:08]
Noman Waseem
Thanks for the feedback, and I've attached the full SQL to reproduce this. Here are the results: -- -- Un-Grouped Select Query Results -- id tolerance 46 1.7975969314575195 47 1.7975969314575195 66 1.7975969314575195 67 1.7975969314575195 37 1.759332537651062 34 1.7408047914505005 9 1.6008177995681763 11 1.6008177995681763 13 1.6008177995681763 15 1.6008177995681763 17 1.6008177995681763 19 1.6008177995681763 36 1.560104489326477 -- -- Grouped Select Query Results -- tolerance count 1.6008177995681763 1 1.7408047914505005 6 1.759332537651062 1 1.7975969314575195 1 1.7975969314575195 4 As you can see, the tolerance/count columns of the grouped query do not match up with those of the ungrouped query.
[8 Nov 2024 12:20]
MySQL Verification Team
Hi Mr. Waseem, Thank you for your bug report. We have repeated your test case on 8.0.40, 8.4.3, 9.0.1 and 9.1.0. We noticed few other errors as well: id tolerance 36 1.560104489326477 9 1.6008177995681763 11 1.6008177995681763 13 1.6008177995681763 15 1.6008177995681763 17 1.6008177995681763 19 1.6008177995681763 34 1.7408047914505005 37 1.759332537651062 46 1.7975969314575195 47 1.7975969314575195 66 1.7975969314575195 67 1.7975969314575195 tolerance count 1.6008177995681763 1 1.7408047914505005 6 1.759332537651062 1 1.7975969314575195 1 1.7975969314575195 4 Do notice how 1.560104489326477 value simply disappeared ....... Verified for 8.0 and all higher versions.
[8 Nov 2024 19:12]
Noman Waseem
Thank you, and I'm not familiar with the submission process. I've subscribed for email updates here, can I expect to be notified if there are any workarounds or patches for this?
[11 Nov 2024 10:05]
MySQL Verification Team
Hi Mr. Waseem, No, it does not work like that. After a period of time, a team in charge of this category will put this bug in the queue for fixing. Since there a very large number of verified bugs in the queue and since higher severity bugs are coming up, the schedule for fixing any bug is totally unknown. Also, due to the many new bugs and versions releases, the schedules are changed practically every week. Once a bug is fixed and push to some yet unavailable release, it has to pass a very severe checking by QA team. Once a bug has made into a release and when that release is published, then there will be a comment in this bug report where was bug fixed and in which release. Then this report will be closed. After that, you have to wait that the release is published, which happens after short period of time. That is a very short description of the very complex process that goes totally internally.