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

Christine Poerschke commented on SOLR-13681:
--------------------------------------------

bq. ticket cross-referencing: SOLR-12239 details how enabling of index sorting 
for an existing collection is problematic. if (speculation) LUCENE-9484 perhaps 
solves that then that would also be beneficial for the changes here it seems.

I don't know if the enabling of an existing collection remains problematic or 
not. However, if it were, might perhaps "Solr 10" provide an "opportunity" 
somehow e.g. to deprecated the SortingMergePolicy in 9.x and remove it in 10x 
and then to have index sorting directly configurable from 10 onwards only?

> make Lucene's index sorting directly configurable in Solr
> ---------------------------------------------------------
>
>                 Key: SOLR-13681
>                 URL: https://issues.apache.org/jira/browse/SOLR-13681
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-13681-refguide-skel.patch, SOLR-13681.patch
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> History/Background:
> * SOLR-5730 made Lucene's SortingMergePolicy and 
> EarlyTerminatingSortingCollector configurable in Solr 6.0 or later.
> * LUCENE-6766 make index sorting a first-class citizen in Lucene 6.2 or later.
> Current status:
> * In Solr 8.2 use of index sorting is only available via configuration of a 
> (top-level) merge policy that is a SortingMergePolicy and that policy's sort 
> is then passed to the index writer config via the 
> {code}
> if (mergePolicy instanceof SortingMergePolicy) {
>   Sort indexSort = ((SortingMergePolicy) mergePolicy).getSort();
>   iwc.setIndexSort(indexSort);
> }
> {code}
> https://github.com/apache/lucene-solr/blob/releases/lucene-solr/8.2.0/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java#L241-L244
>  code path.
> Proposed change:
> * in-scope for this ticket: To add direct support for index sorting 
> configuration in Solr.
> * out-of-scope for this ticket: deprecation and removal of SortingMergePolicy 
> support



--
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