This is the old documentation center for eZ Publish 4. We are currently migrating the eZ Publish documentation to http://confluence.ez.no the eZ Publish 5 documentation platform. Documentation for the eZ Publish legacy components are still located on this site, as well as all documentation for earlier releases.

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 12:11 pm)

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


Comments

There are no comments.