You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2019/08/07 15:43:00 UTC
[jira] [Created] (SOLR-13681) make Lucene's index sorting directly
configurable in Solr
Christine Poerschke created SOLR-13681:
------------------------------------------
Summary: 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
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
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org