我要评分
获取效率
正确性
完整性
易理解

Running and Verifying Solr

  1. Run the following command on agent1 to agent3 to start Tomcat (Solr):
    1
    /usr/local/solrCloud/tomcat/bin/startup.sh
    
    1
    <Connector port="New port number" protocol="HTTP/1.1"
    

    • The default port 8080 is often in use. You can change the Tomcat port No. in the ${tomcat}/conf/server.xml file. After the modification, change the value of hostPort in solrCores/solr.xml. For details, see 1.
    • You can run the following command on agent1 to agent3 to stop Tomcat (Solr):
      1
      /usr/local/solrCloud/tomcat/bin/shutdown.sh
      
  2. Enter http://agent1:8080/solr/index.html in the address box of the browser and press Enter to access Solr.

    In the address box, enter the IP address of the node where the agent1 process resides.