You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by cpoerschke <gi...@git.apache.org> on 2015/07/02 14:51:56 UTC

[GitHub] lucene-solr pull request: LUCENE-6646: SortingMergePolicy-free Ear...

GitHub user cpoerschke opened a pull request:

    https://github.com/apache/lucene-solr/pull/178

    LUCENE-6646: SortingMergePolicy-free EarlyTerminatingSortingCollector constructor

    for https://issues.apache.org/jira/i#browse/LUCENE-6646

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

    $ git pull https://github.com/bloomberg/lucene-solr trunk-etsc-lucene

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

    https://github.com/apache/lucene-solr/pull/178.patch

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

    This closes #178
    
----
commit 7881a5931cf8db8a76f1aee9ca747f6b8de2a63a
Author: Christine Poerschke <cp...@bloomberg.net>
Date:   2015-06-29T15:02:44Z

    LUCENE-6646: make the EarlyTerminatingSortingCollector constructor SortingMergePolicy-free
    
    motivation:
     * 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:
     * made SortingMergePolicy's isSorted into a static function
     * made EarlyTerminatingSortingCollector's constructor SortingMergePolicy-free, class summary docs updated to match
     * adjusted EarlyTerminatingSortingCollector.canEarlyTerminate to be SortingMergePolicy-free also
     * corresponding changes to TestEarlyTerminatingSortingCollector
     * adjusted AnalyzingInfixSuggester's EarlyTerminatingSortingCollector constructor call

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] lucene-solr pull request: LUCENE-6646: SortingMergePolicy-free Ear...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/lucene-solr/pull/178


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] lucene-solr pull request #178: SOLR-10320: Perform secondary sort using both...

Posted by bkinlaw <gi...@git.apache.org>.
Github user bkinlaw closed the pull request at:

    https://github.com/apache/lucene-solr/pull/178


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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