wiki:Public/Docs/CinnamonForceReindex

Version 1 (modified by Administrator, 5 years ago) ( diff )

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:
    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.

Note: See TracWiki for help on using the wiki.