You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/05/13 10:38:12 UTC

[jira] [Created] (SOLR-9108) Improve how index time sorting is configured

Michael McCandless created SOLR-9108:
----------------------------------------

             Summary: Improve how index time sorting is configured
                 Key: SOLR-9108
                 URL: https://issues.apache.org/jira/browse/SOLR-9108
             Project: Solr
          Issue Type: Improvement
            Reporter: Michael McCandless


Spinoff from LUCENE-6766.

We used to have a {{SortingMergePolicy}} to configure index time sorting, but with LUCENE-6766 you now set this on {{IndexWriterConfig}}.

Solr had exposed index time sorting, so to preserve back-compat, I kept {{SortingMergePolicy}} alive, moved to solr's sources, but use it simply as a holder to pull the index sort from and pass to IWC.

This preserves back compat, but I think it'd be cleaner going forward to just allow index sort to be specified somewhere in {{solrconfig.xml}} wherever other index writer settings are set?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org