[ 
https://issues.apache.org/jira/browse/LUCENE-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666115#action_12666115
 ] 

Wolf Siberski commented on LUCENE-1524:
---------------------------------------

The usual semantics for sort is that items with the same score are in random 
order (not only for Lucene). The semantics you propose essentially model the 
assumption that users prefer documents with lower id when they have the same 
score. If this assumption holds for your application, you can use the approach 
suggested by Michael and explicitly express it in the query. But to force it 
onto all users of Lucene doesn't seem to be a good solution.

> True reverse sorting
> --------------------
>
>                 Key: LUCENE-1524
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1524
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.4
>            Reporter: Jiri Kuhn
>            Priority: Minor
>             Fix For: 2.4.1
>
>         Attachments: reverse.patch
>
>
> If documents sorted have the same sort value, they are sorted in the same way 
> even if the reverse flag is true.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to