wiki:Public/Docs/CinnamonForceReindex

Force reindex of a Cinnamon repository

  • Optional: In some cases, the index in the file system must be deleted, typically in the path /opt/cinnamon/cinnamon-data/index/content.
  • Log on to the database as user postgres.
  • Execute the following SQL statements:
    delete from index_jobs;
    insert into index_jobs select id,false,'cinnamon.ObjectSystemData',id from objects;
    insert into index_jobs select id,false,'cinnamon.Folder',id from folders;
    

NOTE: If you want to index objects or folders only, leave out the other query. Obviously, you can restrict the inner select statement with a where clause, for example, to index only objects of a specific object type.

Last modified 3 years ago Last modified on Nov 21, 2020, 10:33:30 AM
Note: See TracWiki for help on using the wiki.