There is a set of helper scripts and search conditions that provide for the quick reindexing of all content.
In the standard configuration locate the folder \Config\Global\Searches and then locate the various searches by object types. Import all those searches in the database. Use the sample script in the \Config\Scripts folder:
importSearchConfigs.bat username password
The script uses cmd4 to import all the searches (provided you have the standard folder structure)
Once the searches are loaded, you can run the script (from the same folder):
reindex.bat
We suggest to scratch the existing indexes (if you are using Exalead, scratch indexes from the Exalead interface; if you are using SQL, unindex by running 'srv4 unindex' that clears the 'gn_FullText' column for all the specified objects - i.e. sets it to null.) before reindexing the entire content.
See also