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

Jiri Kuhn commented on LUCENE-1524:
-----------------------------------

Well, consider this. You have

* a search result displayed as web page
* the search has ability to show it reversed
* the documents found are all equal (in the sense of lucene sort )

Now you click on the link to see result reversed, what happens? Nothing. The 
documents are orderer in the same way as before. But one would expect that 
first document became last etc. This is natural expectation which is covered by 
the test.

You said - the behaviour is undefined, let define it!


> 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