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

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>

Ester Heylen (11/09/2009 9:59 am)

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

Paul Borgermans, Ester Heylen, Geir Arne Waaler, Ricardo Correia


Comments

  • The path to the database script has changed

    I downloaded 2.1 and on my installation the command for creating the database table is:

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

  • apontar errs

    porque meu computador entra no msn da pagina e no meu nao entra;;emtro no orkut e nao consigo entrar no msn;;o 3 g ,,esta estalado mais na soluçao de problemas diz que nao;;;