[hibernate-issues] [JIRA] (HSEARCH-3886) Missing documents should be last by default in field sorts
Yoann Rodière (JIRA)
jira at hibernate.atlassian.net
Mon Apr 6 11:46:02 EDT 2020
Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *created* an issue
Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiYTY4Y2M1OWFiYTM0NDM5MmJlZDljNDZlYzYxYmEzYjciLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3886?atlOrigin=eyJpIjoiYTY4Y2M1OWFiYTM0NDM5MmJlZDljNDZlYzYxYmEzYjciLCJwIjoiaiJ9 ) HSEARCH-3886 ( https://hibernate.atlassian.net/browse/HSEARCH-3886?atlOrigin=eyJpIjoiYTY4Y2M1OWFiYTM0NDM5MmJlZDljNDZlYzYxYmEzYjciLCJwIjoiaiJ9 ) Missing documents should be last by default in field sorts ( https://hibernate.atlassian.net/browse/HSEARCH-3886?atlOrigin=eyJpIjoiYTY4Y2M1OWFiYTM0NDM5MmJlZDljNDZlYzYxYmEzYjciLCJwIjoiaiJ9 )
Issue Type: Improvement Assignee: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) Components: backend-lucene Created: 06/Apr/2020 08:46 AM Fix Versions: 6.0.0.Beta7 Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )
Currently they are last in the Elasticsearch backend (because we let it manage the defaults), but not in the Lucene backend, where they are wherever the default value for the field type is (empty string, zero, ...).
Let's be consistent and use the Elasticsearch approach of sorting documents without a value last.
Also, there are apparently missing tests, since we currently don't have any failure.
( https://hibernate.atlassian.net/browse/HSEARCH-3886#add-comment?atlOrigin=eyJpIjoiYTY4Y2M1OWFiYTM0NDM5MmJlZDljNDZlYzYxYmEzYjciLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3886#add-comment?atlOrigin=eyJpIjoiYTY4Y2M1OWFiYTM0NDM5MmJlZDljNDZlYzYxYmEzYjciLCJwIjoiaiJ9 )
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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100124- sha1:c7667cc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200406/282d2fde/attachment-0001.html
More information about the hibernate-issues
mailing list