You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/07/29 14:43:00 UTC

[jira] [Commented] (SOLR-16217) SortingMergePolicy: test coverage for dual-field sort

    [ https://issues.apache.org/jira/browse/SOLR-16217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573011#comment-17573011 ] 

ASF subversion and git services commented on SOLR-16217:
--------------------------------------------------------

Commit 56a4f6a288f47a62278da9e727265659efefdce8 in solr's branch refs/heads/main from Christine Poerschke
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=56a4f6a288f ]

SOLR-16217: SortingMergePolicy: test coverage for dual-field sort (#883)



> SortingMergePolicy: test coverage for dual-field sort
> -----------------------------------------------------
>
>                 Key: SOLR-16217
>                 URL: https://issues.apache.org/jira/browse/SOLR-16217
>             Project: Solr
>          Issue Type: Test
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> SOLR-5730 previously made Lucene's {{SortingMergePolicy}} configurable in Solr.
> The sort criteria could be (say) {{timestamp_i_dvo desc}} or (say) {{timestamp_i_dvo desc, id desc}} with the latter using the unique document key to ensure deterministic sorting.
> See e.g. [https://github.com/apache/solr/blob/releases/solr/9.0.0/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java#L193] and [https://github.com/apache/solr/blob/releases/solr/9.0.0/solr/core/src/java/org/apache/solr/search/EarlyTerminatingSortingCollector.java#L55-L67] w.r.t. {{segmentTerminateEarly}} logic detail i.e. single-field {{sort=timestamp_i_dvo desc}} could be used if the merge policy has dual-field {{timestamp_i_dvo desc, id desc}} but dual-field sort requires dual-field merge policy.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org