Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *closed* an issue as *Won't Fix*
It's actually not a good idea, as it results in inconsistent values being returned by
LuceneSearchQuery.getLuceneSort() and LuceneSearchResult.getTopDocs()}: when the sort is
non-null but contains only a sort by descending score, we end up returning top docs while
"scoreDocs" are {{ScoreDoc instances instead of the expected FieldDoc instances.
This in turn complicates the (user) implementation of merging top docs.
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiODMxZGRl...
) / Improvement (
https://hibernate.atlassian.net/browse/HSEARCH-3917?atlOrigin=eyJpIjoiODM...
) HSEARCH-3917 (
https://hibernate.atlassian.net/browse/HSEARCH-3917?atlOrigin=eyJpIjoiODM...
) Use TopScoreDocCollector when a descending score sort is requested explicitly (
https://hibernate.atlassian.net/browse/HSEARCH-3917?atlOrigin=eyJpIjoiODM...
)
Change By: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Fix versions: 6.0.0.Beta-backlog-high-priority Resolution: Won't Fix Status: In
Progress Closed
(
https://hibernate.atlassian.net/browse/HSEARCH-3917#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3917#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- sha1:a719cbc )