Re: Null snippets
- From: D Bera <dbera web gmail com>
- To: Roger Lainson <roger sdr com au>
- Cc: dashboard-hackers gnome org
- Subject: Re: Null snippets
- Date: Sat, 20 Jun 2009 21:48:59 -0400
> There is a SnippetMode, but alas it's already set to true. However, in
> FilterMail.cs I found
>
> // If this is the richest part we found for
> multipart emails, add its content to textcache
> if (this.depth == 1 && this.count == 0)
> child.CacheContent = true;
> else
> child.CacheContent = false;
>
> If I make child.CacheContent unconditionally true (and then re-index of
> course) the results are just what I want for attachments. Snippet is still
> null for phrase searches but perhaps that's inevitable? I'm ok with my
> hacked solution, but a command-line option to turn this on would be really
> nice! Or does the logic need re-visiting?
Some of the beagle hackers has HUGE volumes of emails which was the
main motivation behind disabling snippets for emails :-). Snippets
requires caching the data which basically means a lot of storage.
Later the main email body was cached but attachments were left out ...
again fearing space problem.
So setting "child.CacheContent = true" is ok.
I propose a Config option to enable snippets for emails (and warn
about the storage in the settings GUI) and turn on/off snippets for
emails (attachment included). Hopefully not too late on this one ....
:-)
- dBera
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]