Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Installation

Java Runtime Environment

The extension requires the Sun supplied Java Runtime Environment (JRE) version 5 for Linux and 6 for Windows, Mac OS and Solaris. This can be obtained from the Java download pages. Follow the corresponding installation instructions as described on the Java home pages.

Once the JRE is installed, you can reach the eZ Find extension on the eZ Publish community sources. Please note that the version of eZ Find which are bundled with eZ Publish community versions aren't certified for eZ Publish 5 Platform, and can't be support. The eZ Find extension has to be placed under your eZ Publish site location in the path extension/ezfind/.

Enable eZ Find and upgrade DB schema

To enable your eZ Find extension, open settings/override/site.ini.append.php and add the following parameter to the [ExtensionSettings] section:

ActiveExtensions[]=ezfind

Here you should add the eZ Find extensions before the ezwebin (Website Interface) and ezflow extensions, in order to use the correct templates for these extensions. Your [ExtensionSettings] section might then look like this:

ActiveExtensions[]=ezfind
ActiveExtensions[]=ezwebin
ActiveExtensions[]=ezflow

Please note that from version 2.3 onwards eZ Find supports the new extension load ordering feature that makes the extension load ordering more automated. Please read more in What's new in eZ Find 2.3.

Next update the class autoloads by running the script:

php bin/php/ezpgenerateautoloads.php

You will also need to add a table to the database used by your eZ Publish installation. You can do this as follows from the eZ Publish root directory if you are using MySQL:

mysql -u <user> -p <database_name> < extension/ezfind/sql/<database>/<database>.sql

In case you are using another RDMS the procedure is very similar. You may want to have a look at sql/oracle (for Oracle) or sql/postgresql (for PostgreSQL). Please refer to the documentation reference for your DBMS if you are experiencing problems.

Finally, also clear the template override cache with following command:

php bin/php/ezcache.php --clear-id=template-override

Now that eZ Find is installed you are able to start solr, by running the following command from your extension/ezfind/java/ directory:

<span class="line">java -Dezfind -jar start.jar</span>

For more details please check the solr backend documentation.

To re-index the content of the site run the command:

php extension/ezfind/bin/php/updatesearchindexsolr.php -s <admin siteaccess>

Configuration

Please visit the Basic and Advanced Configuration pages to learn how to configure your installation to suit your needs.

Geir Arne Waaler (06/06/2011 1:23 pm)

Ricardo Correia (04/04/2013 3:06 pm)

Geir Arne Waaler, Ricardo Correia


Comments

  • other files written by solr

    the elevate.xml file is update by solr when ezpublish send to it its elevate config