[
https://issues.apache.org/jira/browse/LUCENE-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14213961#comment-14213961
]
Ahmet Arslan commented on LUCENE-6057:
--------------------------------------
Thanks Martin, for clarifying this! I has some cases where multiple documents
get assigned to same score. Order of the documents was changing from core/index
to core/index. So I thought sorting algorithm lucene use, is not stable (like
heap sort, selection sort etc.). But it looks like thats not the case? When
default sort is used (sort by score/relevancy) internal lucene ids are used to
break tie. And those ids cange during segment merge etc. Is it wrong to say
that lucene uses a non-stable sort?
> Clarify the Sort(SortField...) constructor)
> -------------------------------------------
>
> Key: LUCENE-6057
> URL: https://issues.apache.org/jira/browse/LUCENE-6057
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/search
> Affects Versions: 4.10.2, Trunk
> Reporter: Martin Braun
> Assignee: Michael McCandless
> Priority: Minor
> Labels: Clarification, Documentation, New_Users, Sort
> Fix For: 4.10.2, 5.0, Trunk
>
> Attachments: LUCENE-6057.patch
>
>
> I don't really know which version this affects, but I clarified the
> documentation of the Sort(SortField...) constructor to ease the understanding
> for new users.
> Pull Request:
> https://github.com/apache/lucene-solr/pull/20
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]