Version 2 (modified by 4 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:
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 awhere
clause, for example, to index only objects of a specific object type.
Note:
See TracWiki
for help on using the wiki.