GitHub user cpoerschke opened a pull request:

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

    SOLR-7714: reduce SearchHandler's overall use of ShardHandler objects (from 
N+1+x to just 1)

    for https://issues.apache.org/jira/i#browse/SOLR-7714

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

    $ git pull https://github.com/bloomberg/lucene-solr 
trunk-reduce-SearchHandler-object-use

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

    https://github.com/apache/lucene-solr/pull/158.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 #158
    
----
commit 0e518f15b546abd06542ae96ecd619cd5efc33dd
Author: Christine Poerschke <[email protected]>
Date:   2014-11-11T13:29:43Z

    SOLR-????: tweak SearchHandler getDefaultComponents initial capacity (from 
6 to 8)

commit 093859e77ee03ae2fee23ef4fc6941a119d5d135
Author: Christine Poerschke <[email protected]>
Date:   2014-09-02T11:15:35Z

    SOLR-????: reduce SearchHandler's overall use of ShardHandler objects (from 
N+1+x to just 1)
    
    before:
     * A search request to an N-shard system constructs at least N+1 
ShardHandler objects in total, 1 object in the receiving solr instance and 1 
object in each of the N shards that receive sub-requests.
    
    after:
     * A search request to an N-shard systems constructs 1 ShardHandler object 
in the receiving solr instance only.
    
    summary of change:
     * move non-distrib related code fragments from 
HttpShardHandler.checkDistrib to SearchHandler
     * rename ShardHandler.checkDistrib to ShardHandler.prepDistrib (to be 
called for distributed requests only)
     * SearchHandler constructs ShardHandler object only for distributed 
requests

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to