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

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

Commit 1d9abb1aea11fe25667550df7d9ae687ae0c540f in solr's branch 
refs/heads/branch_9x from Christine Poerschke
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=1d9abb1aea1 ]

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

(cherry picked from commit 56a4f6a288f47a62278da9e727265659efefdce8)


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to