Details
-
Test
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is related to
-
SOLR-13681 make Lucene's index sorting directly configurable in Solr
-
- Open
-
-
SOLR-5730 make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector configurable in Solr
-
- Resolved
-
- links to