Generate a Collection Configuration Using Configs

A collection configuration is a necessary prerequisite of creating a collection. Learn how to do it using configs.

  1. If you are using Kerberos, kinit as a user with permission to create the collection configuration:
    kinit solradmin@EXAMPLE.COM

    Replace EXAMPLE.COM with your Kerberos realm name.

  2. To generate configuration files for a collection, run the following command:
    solrctl config --create <configName> <templateName> -p immutable=false
    For available
    For example, to create the configuration logs_config based on managedTemplate:
    solrctl config --create logs_config managedTemplate -p immutable=false