exp:updatesearchindex
Reindex all content objects in the search engine.
Script bin/php/updatesearchindex.php, code in kernel/private/classes/commands/updatesearchindex.php. Run it from the installation root, as the user the web server runs as:
./console exp:updatesearchindex --help
php bin/php/updatesearchindex.php --helpOptions
| Option | Value | Help |
|---|---|---|
--db-host | required | Database host |
--db-user | required | Database user |
--db-password | required | Database password |
--db-database | required | Database name |
--db-type | required | Database driver, alias for --db-driver |
--db-driver | required | Database driver |
--sql | Display sql queries | |
--clean | Remove all search data before beginning indexing |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/updatesearchindex.php, kernel/private/classes/commands/updatesearchindex.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.