GitHub user susheelks opened a pull request:
https://github.com/apache/lucene-solr/pull/66
SOLR-8146: Allowing SolrJ CloudSolrClient to have preferred replica for
query/read
This pull request is to get feedback on the approach of implementing
routingRule.
The unit test is not ready yet as facing challenges on how to mock/ inject
dependency to simulate a cluster with different IP addresses machines and only
matching one gets added to urlList which ultimately gets passed to
LBHttpSolrClient.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/susheelks/lucene-solr SOLR-8146
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/66.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 #66
----
commit e761d7c2e1ecf6ce37eb43bc764897fbed8cdc4e
Author: Kumar, Susheel (CORP) <[email protected]>
Date: 2016-08-10T00:42:45Z
changes for limiting query to shard matching routing rule
----
---
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]