eZ Community » Forums » Extensions » Setup Solr
expandshrink

Setup Solr

Setup Solr

Wednesday 26 December 2012 3:19:38 pm - 2 replies

I am using eZPublis(4.6.0). I have set solr folder folder in my xampp folder and activated the eZFind extension in \settings\override\site.ini.append.php.
My solr is runing on port 8080 (http://localhost:8080/solr/). when I run http://localhost:8080/solr/, it loads fine.
However, when I try to run command : php extension/ezfind/bin/php/updatesearchindexsolr.php -s
it shows following error “Please, ensure the server is started and the configuration of eZ Find is correct”. I am following http://harmssite.com/post/86#comment-113.
Can anyone suggest what wrong I may be doing or any other solution?

Wednesday 26 December 2012 8:23:09 pm

In solr.ini, you should have this somewhere:

[SolrBase]
#Base URI of the Solr server
SearchServerURI=http://localhost:8080/solr

Also see this tutorial, which should work with xampp with only minor modifications.

 

Friday 28 December 2012 8:20:11 am

It is because you didn't started Solr Server.

To Solve:

  1. Make sure JAVA is installed on your system.
  2. Go to <YOUR_EZ_ROOT>\extension\ezfind\java\  folder.
  3. Run the start.jar file to start Solr Server.
  4. Run command : php extension/ezfind/bin/php/updatesearchindexsolr.php -s <YOUR_EZ_siteaccess> [Make sure that PHP CLI is in path]

Have great fun with eZ Publish. I hope this would solve your issue.

If issue still same try changing port of solr server as it is the default port.

Add the following lines to your Solr ini:

[SolrBase]
# Base URI of the Solr server
SearchServerURI=http://localhost:8983/solr

Modified on Friday 28 December 2012 8:24:04 am by Kinjalgiri Goswami

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from