You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "wei wang (Jira)" <ji...@apache.org> on 2024/05/23 23:48:00 UTC

[jira] [Created] (SOLR-17310) LeafSorter to support customized segment traverse order

wei wang created SOLR-17310:
-------------------------------

             Summary:  LeafSorter to support customized segment traverse order 
                 Key: SOLR-17310
                 URL: https://issues.apache.org/jira/browse/SOLR-17310
             Project: Solr
          Issue Type: New Feature
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: wei wang


Lucene's IndexWriterConfig provides the option to sort leaf readers when a custom leafSorter is provided.   [https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java#L494]  

The functionality is currently not exposed in Solr config. This implementation provides a leafSorter to customize the segment visiting order by its time stamp,  so that recent NRT segments can be traversed first. 



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