Installation
Java Runtime Environment
The extension requires the Sun supplied Java Runtime Environment (JRE) version 5 for Linux and 6 for Windows, Mac OC 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, download the eZ Find extension from the eZ website http://ez.no/ezfind. Save and extract the downloaded file to the root of your eZ Publish installation.
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 (05/10/2011 2:09 pm)
Ricardo Correia (04/04/2013 2:55 pm)
Comments