[
https://issues.apache.org/jira/browse/SOLR-7714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597905#comment-14597905
]
ASF GitHub Bot commented on SOLR-7714:
--------------------------------------
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
----
> reduce SearchHandler's overall use of ShardHandler objects (from N+1+x to
> just 1)
> ---------------------------------------------------------------------------------
>
> Key: SOLR-7714
> URL: https://issues.apache.org/jira/browse/SOLR-7714
> Project: Solr
> Issue Type: Improvement
> Reporter: Christine Poerschke
> Priority: Minor
>
> github pull request with proposed change to follow.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]