Search results not sorted properly
----------------------------------
Key: HSEARCH-542
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-542
Project: Hibernate Search
Issue Type: Bug
Affects Versions: 3.2.0.Final
Environment: Hibernate 3.5.1-Final, MySQL 5.1.6
Reporter: Florin Haizea
Priority: Critical
Attachments: ScoreIssue.zip
Trying to index a simple relationship between a Person and a collection of Names. There
are 2 issues:
1) The document containing the Person fields contains each name of that person TWICE. I
think this may be affecting the score that the document receives.
2) The search results are not ordered correctly. If I have one person with only one name:
"Sly Stallone" and other people with multiple names, out of which one contains
only "Sly" or only "Stallone", the people with multiple names have a
higher score than the person with only one name that matches the search perfectly.
Here's the original thread that started this issue:
https://forum.hibernate.org/viewtopic.php?f=9&t=1005019&sid=6f187...
I've attached a maven project which contains a test that fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira