Using Solr from Scratch
This section describes how to use Solr from scratch, update the client configuration file on the primary management node of the cluster, create collections, delete collections, and view existing collections on the client.
Prerequisites
The cluster runs properly and the Solr client has been installed in a directory, for example, /opt/client. The client directory in the following operations is only an example. Change it based on the actual installation directory onsite.
Procedure
- Use the client.
- Log in to the node where the client resides as the client installation user and run the following command to switch to the client directory:
- Run the following command to configure environment variables:
- If Kerberos authentication has been enabled for the current cluster, run the following command to authenticate the current user. The current user must have Solr permissions. If Kerberos authentication is disabled for the current cluster, skip this step:
Example: kinit solruser
- Run the Solr client command.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot