ibexa

Path

ez publish / documentation / extensions / ez publish extensions / ez find / upgrading ez find / upgrading to ez find ls 5.1.0


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

Upgrading to eZ Find LS 5.1.0

Back-up

Before starting the eZ Find upgrading process make sure that you have a working backup of the existing website state including database, extensions, INI settings, etc. During the upgrade process the existing eZ Find extension will be removed and replaced with a new version.

Download

Since eZ Find LS 5.1.0 is already bundled with eZ Publish Community Project 2013.05 and eZ Publish Enterprise Edition 5.1 downloading this extension separately is no longer necessary.

You can find it under ezpublish_legacy/extension/ezfind.

Note: Enterprise customers can get the complete package from the download page in the Service Portal, and non-enterprise users can download eZ Publish Community Project 2013.05 in share.ez.no.

Make sure the extension is activated under the [ExtensionSettings] block in the "ezpublish_legacy/settings/override/site.ini.append.php" like this:

[ExtensionSettings]
 
ActiveExtensions[]=ezfind
[...]

It is important that eZ Find is activated before eZ Webin and eZ Flow, if you use those extensions, to ensure that your installation uses the correct search templates.

Clear ini and template override cache

Clear the ini and template override caches (mandatory) with the following command from your "ezpublish_legacy" folder:

php bin/php/ezcache.php --clear-all

Autoload update

Next the autoload array needs to be updated for the extension. To do this, execute following command from your "ezpublish_legacy" folder:

$ php bin/php/ezpgenerateautoloads.php -e -p

Re-index

Next re-index the content of the site by running the command, also from your "ezpublish_legacy" folder:

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

Note: Internally the schema used by Solr has changed, this means that to upgrade to eZ Find LS 5.1.0 a full index update is required. This also means that some attribute names from the old schema might have a different name/format/properties now so every site specific code using Solr defined field names for eZ Publish attributes directly has to be reviewed.

Ricardo Correia (11/09/2013 1:18 pm)

Ricardo Correia (11/09/2013 1:36 pm)


Comments

There are no comments.