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

Updating the search index

To add content to the search engine index, run the updatesearchindexsolr.php script using the administration siteaccess as the specified siteaccess. For example:

php extension/ezfind/bin/php/updatesearchindexsolr.php -s <admin siteaccess> --php-exec=php --conc=2


The indexing process typically indexes at a rate of 5 to 15 objects per second. However, if you are using external filters to convert binary files to plain text, this may add more processing time.

The --php-exec parameter must specify the path to the PHP executable used. This parameter is used to start sub-processes in the indexing operation. This is done to prevent internal memory and reference problems.
The --conc parameter specifies how many concurrent processes should be used to index the content. This number should be equal to the number of processor cores on the server.
An optional parameter is –-clean which will delete all existing entries (and also the spell check index terms in the default configuration)

Ester Heylen (11/09/2009 10:11 am)

Ester Heylen (24/11/2009 10:19 am)


There are no comments.