ibexa

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

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)

Important Note

Keep in mind that eZ Find currently does not support the following:

  •  re-index of reverse related content upon re-publishing of content.
  •  re-index of content upon unhiding of subtree.
  •  re-index of content upon changes of sections.
  •  re-index subtree upon moving location
    This can be resolved by :
    • using DelayedIndexing, or
    • executing the bin/php/updatesearchindex.php script

Geir Arne Waaler (06/06/2011 1:25 pm)

Sarah Haïm-Lubczanski (24/02/2014 5:06 pm)

Sarah Haïm-Lubczanski, Geir Arne Waaler


Comments

There are no comments.