A collection configuration is a necessary prerequisite of creating a collection.
Learn how to do it using configs.
-
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.
-
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