Domenico Fabio Marino created SOLR-10880:
--------------------------------------------
Summary: Support replica filtering by flavour
Key: SOLR-10880
URL: https://issues.apache.org/jira/browse/SOLR-10880
Project: Solr
Issue Type: New Feature
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Domenico Fabio Marino
Priority: Minor
Add a mechanism to allow queries to use only a subset of replicas(by specifying
the wanted replica "flavour").
Some replicas have to be marked as "flavoured" before running the query.
A query can specify ShardParams.SHARDS_REQUIRED_FLAVOUR to specify the flavour
it wants to use (Only one flavour can be specified) together with
ShardParams.SHARDS_CONSIDER_FLAVOURS set to true.
The property Replica.REPLICA_FLAVOUR can be used to give a flavour to a
replica, the parameter it takes is a pipe ('|') separated list of flavours
(e.g. "chocolate|vanilla").
The mappings between flavours is only computed when
ShardParams.SHARDS_CONSIDER_FLAVOURS is true, and it is computed separately for
each request.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]