Updated on 2024-11-29 GMT+08:00

Creating a Solr Role

Scenario

Create and configure a Solr role on Manager as an MRS cluster administrator. You can grant Solr administrator permissions and collection management permissions to a Solr role.

Prerequisites

  • The MRS cluster administrator has understood service requirements.
  • You have logged in to Manager.

Procedure

  1. Choose System > Permission > Role.
  2. Click Create Role and set a role name and enter description.
  3. Set Configure Resource Permission. For details, see Table 1.

    Solr permission:

    • SUPER_USER_GROUP: has read/write permissions on all collections, which are the Solr administrator permissions.
    • Solr Scope: manages collection resources and has read/write permissions on a specified collection.
      Table 1 Setting a role

      Task

      Operation

      Solr administrator permission

      In the Configure Resource Permission table, choose Name of the desired cluster > Solr and select SUPER_USER_GROUP.

      Setting a user's read/write permissions on a specified collection in a Solr group

      1. In the Configure Resource Permission table, choose Name of the desired cluster > Solr > Solr Scope.
      2. In the Permission column of the specified collection, select read and write.

  4. Click OK, and return to the Role page.