A command line tool that wipes the search term index and rebuilds it from scratch, not using caching (i.e. conserving memory)... would be useful to have for doing large imports fast, then indexing them slowly afterwards
Possibly make this an option to backtofront along the lines of norebuild, e.g. --reindex. This would work in conjunction with --norebuild so that if SEARCHTERMs are changed, the existing database, although not rebuilt is reindexed. "backtofront --reindex <databse name> <username> <password>" should also be usable standalone, such that it does not regenerate, but simply reindexes by scanning the TObject table for searchable object tables, checks if their corresponding searchterm_results function exists, and if so, loops over all the object ids and calls searchterm_refresh on them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Possibly make this an option to backtofront along the lines of norebuild, e.g. --reindex. This would work in conjunction with --norebuild so that if SEARCHTERMs are changed, the existing database, although not rebuilt is reindexed. "backtofront --reindex <databse name> <username> <password>" should also be usable standalone, such that it does not regenerate, but simply reindexes by scanning the TObject table for searchable object tables, checks if their corresponding searchterm_results function exists, and if so, loops over all the object ids and calls searchterm_refresh on them.