The user should have an option to clear all the file index data and restart indexing without having to resort to the shell. Provide some button, maybe under advanced, to allow this. Relevant Code: kde-runtime/nepomuk/kcm/ Since the clearing of all indexed data can take some time, it might be good to show some kind of progress window? Hint: Nepomuk::removeDataByApplication should do the trick.
I'll take this on, shouldn't take very long.
I am taking on this task. Should be done in a day or two.
Created attachment 78903 [details] Button in KCM to clear the file index A simple patch to add a button to the Nepomuk KCM to clear the file index using removeDataByApplication().
I'm not tested it but using removeDataByApplication() will be extremely slow and some kind of database problems probably don't be fixed if they exists. The fastest, and more reliable, method is recreate the database.
(In reply to comment #3) > Created attachment 78903 [details] > Button in KCM to clear the file index > > A simple patch to add a button to the Nepomuk KCM to clear the file index > using removeDataByApplication(). Please submit this to http://reviewboard.kde.org, where patches are reviewed. You will need an account on http://identity.kde.org to do so.