Registry Collection

Registry stores its data in Apache Solr. You must create registry collection in Solr before loading the data.

Registry manager comes with default registry "configset" located in <wherever you deployed the package>/registry-3.2.2/solr/collections/registry directory. The default registry configset consists of two files, managed-schema and solrconfig.xml. You may want to add more fields to default schema or change default Solr configuration.

Create Collection

To create registry collection in Solr from default configset with one shard and one replica, run the following Registry Manager command

registry-manager create-registry

You can customize create-registry command by passing several parameters. See Registry Manager Help for more info. To see the list of available parameters and basic usage you can also run

registry-manager create-registry -help

To check that registry collection was created open the following URL in a browser: http://localhost:8983/solr/registry/schema or use curl if it is available on your system (Linux, Mac)

curl 'http://localhost:8983/solr/registry/schema'

You can also go to Solr admin UI at http://localhost:8983/solr/ and select registry collection from a dropdown on the left as shown below.


NOTE: If you run Solr in Docker / Podman, make sure that Solr started in cloud mode and ZooKeeper port (9983) is mapped.

You can connect to remote ZooKeeper (and Solr) cluster by passing -zkHost parameter.

You can also use standard ZooKeeper and Solr tools instead of Registry Manager to create and manage registry collection.

Delete Collection

To delete registry collection from Solr run the following command.

registry-manager delete-registry

See Registry Manager Help for more info.

Customization

You may want to add more fields to default schema or change default Solr configuration. See Registry Collection Configuration and Solr Documentation for more information.

Next Steps

You might now want to quickly test your set up or directly operate it with your own data.