Hi Alex,

Do you mean to add a custom property e.g. via 
https://solr.apache.org/guide/8_11/replica-management.html#addreplicaprop and 
then to use it similar to how 
https://solr.apache.org/guide/8_11/distributed-requests.html#shards-preference-parameter
 properties are used?

If I understood you correctly then currently the list of shards.preference 
properties includes system properties via node.sysprop but not replica 
properties in ZK i.e. it's not currently possible but something like it has 
come up before e.g. https://issues.apache.org/jira/browse/SOLR-10880 issue.

Regards,
Christine

PS: Thanks Ilan for redirecting from Lucene to Solr dev list!

From: [email protected] At: 12/30/21 17:35:37 UTCTo:  [email protected]
Subject: Re: Custom props to replica state in zk

[Replying to Solr rather than Lucene dev list]

If SOLR-15472 takes care of not using the leaders for queries, what would the 
replica state property be used for?

Ilan

On Thu, Dec 30, 2021 at 5:40 PM Alex Bulygin <[email protected]> wrote:


Hi all!  
Anyone who know, please tell me, it is possible to add a custom property to 
replica state in zk? While I see that properties are added only to local 
core.propertie. 
if this cannot be done, can we create a ticket? I would attach a patch in the 
near future. 
P.S.  I want to use this in conjunction with solr-15472, excluding reads on the 
leaders, for whose disks I make indexes


Reply via email to