[
https://issues.apache.org/jira/browse/SOLR-11982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16371370#comment-16371370
]
Ere Maijala commented on SOLR-11982:
------------------------------------
I've attached a new patch that should address all the comments. Sorry for the
whitespace changes, they should be reverted now.
[~cpoerschke] Thanks for the feedback! The original patch didn't take the order
of the preferred replica types to account, but the new patch does, since it can
be useful too. I also tried to clarify the documentation so that the use case
for both parameters is more clear. Does this help?
[~erickerickson] Thanks, that was indeed a typo, now fixed.
> Add support for preferReplicaTypes parameter
> --------------------------------------------
>
> Key: SOLR-11982
> URL: https://issues.apache.org/jira/browse/SOLR-11982
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Affects Versions: master (8.0), 7.3
> Reporter: Ere Maijala
> Priority: Minor
> Labels: patch-available, patch-with-test
> Attachments: SOLR-11982-v2.patch, SOLR-11982.patch
>
>
> It would be nice to have the possibility to easily prefer certain replica
> types in a similar fashion to preferLocalShards. I'll be coming up with a
> patch that allows one to specify e.g. preferReplicaTypes=PULL,TLOG which
> would mean that NRT replicas wouldn't be hit with queries unless they're the
> only ones available.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]