Results 1 to 6 of 6

Thread: Re-Index KMail search

  1. #1
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    244

    Default Re-Index KMail search

    Hi,
    what do I have to do to force KMail to reindex all mails?
    Every time I search for a mail it claims that the mail account is not indexed. It offers to rebuild the index, but even after hours, nothing happens. That does not look right to me....
    Thanks in advance!

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,476

    Default Re: Re-Index KMail search

    Quote Originally Posted by DocB View Post
    what do I have to do to force KMail to reindex all mails?
    Every time I search for a mail it claims that the mail account is not indexed. It offers to rebuild the index, but even after hours, nothing happens. That does not look right to me....
    It seems that, you have many e-Mails and/or many e-Mail folders.

    If you right-click each e-Mail folder and select "Folder properties" and then select the right-most tab [ "Maintenance" ].
    On this tab you'll find an indexing option and, the capability to re-index only that folder.

    You may have to go through each folder in turn and, either disable the indexing or, individually, folder for folder, re-index each folder in turn.

  3. #3
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    244

    Default Re: Re-Index KMail search

    Quote Originally Posted by dcurtisfra View Post
    It seems that, you have many e-Mails and/or many e-Mail folders.

    If you right-click each e-Mail folder and select "Folder properties" and then select the right-most tab [ "Maintenance" ].
    On this tab you'll find an indexing option and, the capability to re-index only that folder.

    You may have to go through each folder in turn and, either disable the indexing or, individually, folder for folder, re-index each folder in turn.
    Well, I tried with a small folder first - just 320 Emails. After 10 minutes the Re-Index button was still greyed out. So there seems to be something broken.
    What processes would I see in top if the re-indexer is running? Anything with *baloo*?

  4. #4

    Default Re: Re-Index KMail search

    Quote Originally Posted by DocB View Post
    What processes would I see in top if the re-indexer is running? Anything with *baloo*?
    What version of kmail are you using?

    For 5.x the process is called "akonadi_indexing_agent".

    With 4.x you would see a process called "akonadi_baloo_indexer".
    If that's what you are using, check that baloo-pim is installed. It may have been replaced by akonadi-search, which doesn't work with the KDE4 version (and vice-versa).

  5. #5
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    244

    Default Re: Re-Index KMail search

    Quote Originally Posted by wolfi323 View Post
    What version of kmail are you using?

    For 5.x the process is called "akonadi_indexing_agent".
    I'm using 5.3.2, as shipped with Leap 42.2. I can see the process, but even if I trigger a rebuild, it does not consume any CPU. Sounds strange....

  6. #6

    Default Re: Re-Index KMail search

    Quote Originally Posted by DocB View Post
    I'm using 5.3.2, as shipped with Leap 42.2.
    Well, 4.14.10 is shipped with Leap 42.2 too...

    I can see the process, but even if I trigger a rebuild, it does not consume any CPU. Sounds strange....
    Try to delete the folders ~/.local/share/baloo/ and ~/.local/share/akonadi/search_db/ if they exist to force a reindex.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •