lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (LUCENE-6646) support SortingMergePolicy-free use of EarlyTerminatingSortingCollector
Date Tue, 30 Jun 2015 19:08:04 GMT


ASF GitHub Bot commented on LUCENE-6646:

GitHub user cpoerschke opened a pull request:

    support SortingMergePolicy-free use of EarlyTerminatingSortingCollector


You can merge this pull request into a Git repository by running:

    $ git pull trunk-sort-outline-lucene

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #175
commit 5984692c660b32ddec0260e5a096b7b7eea5ea8d
Author: Christine Poerschke <>
Date:   2015-06-29T15:02:44Z

    LUCENE-????: support SortingMergePolicy-free use of EarlyTerminatingSortingCollector
     * SOLR-5730 to make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector
configurable in Solr.
     * outline of draft SOLR-5730 changes:
       + SolrIndexWriter constructor calls SolrIndexConfig.toIndexWriterConfig (passing the
result to its lucene.IndexWriter super class)
       + SolrIndexConfig.toIndexWriterConfig(SolrCore core) calls SolrIndexConfig.buildMergePolicy
       + SolrIndexConfig.buildMergePolicy(IndexSchema schema) calls the SortingMergePolicy
constructor (using the IndexSchema's mergeSortSpec)
       + SolrIndexSearcher.buildAndRunCollectorChain calls the EarlyTerminatingSortingCollector
constructor (using the IndexSchema's mergeSortSpec)
    summary of changes:
     * added static isSorted variant to SortingMergePolicy
     * added SortingMergePolicy-free EarlyTerminatingSortingCollector constructor variant
     * added SortingMergePolicy-free EarlyTerminatingSortingCollector.canEarlyTerminate variant
     * corresponding changes to TestEarlyTerminatingSortingCollector (randomly choose between
constructor and canEarlyTerminate variants)


> support SortingMergePolicy-free use of EarlyTerminatingSortingCollector
> -----------------------------------------------------------------------
>                 Key: LUCENE-6646
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Wish
>            Reporter: Christine Poerschke
>            Priority: Minor
> motivation and summary of proposed changes to follow via github pull request

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message