As of today, the current version of Solr is 5.0.0, and the quick start guide is here:
http://lucene.apache.org/solr/quickstart.html
When running:
$ bin/solr start -e cloud -noprompt
If you are getting the following error message:
WARN - 2015-03-06 16:02:05.519; org.apache.solr.util.SolrCLI; Request to http://134.252.99.99:7574/solr/admin/collections?action=list failed due to: Connection timed out, sleeping for 5 seconds before re-trying the request ...
It's likely because your router or firewall is blocking connections to your own machine to port 7574 when using the IP address.
Here's a workaround:
Edit the /etc/hosts file and put in the following line:
134.252.99.99 localhost
(replace 134.252.99.99 with your IP address)
Your OS will know that 134.252.99.99 is localhost, and will bypass the router.
Now, when you go to http://localhost:8983/solr/#/~cloud you should see this diagram:
Note: 134.252.99.99 is not my IP address. It's supposed to be a "dummy" IP address. Apologies if that is your IP address.
No comments:
Post a Comment