[jira] [Created] (SOLR-12770) Make it possible to configure a shards whitelist for master/slave

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SOLR-12770) Make it possible to configure a shards whitelist for master/slave

JIRA jira@apache.org
Jan Høydahl created SOLR-12770:
----------------------------------

             Summary: Make it possible to configure a shards whitelist for master/slave
                 Key: SOLR-12770
                 URL: https://issues.apache.org/jira/browse/SOLR-12770
             Project: Solr
          Issue Type: New Feature
      Security Level: Public (Default Security Level. Issues are Public)
          Components: search
            Reporter: Jan Høydahl


For legacy master/slave clusters, there is no Zookeeper to keep track of all the nodes and shards in the cluster. So users manage the 'shards' parameter manually for distributed search. This issue will add the option of configuring a list of what shards can be requested.

Users will then get an explicit error response if the request includes a shard which is not in the preconfigured whitelist, e.g. due to a typo. I think all shards logic is handled by HttpShardHandler already so the logic should fit nicely in that one class, configured in {{solr.xml}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]