Re: A few small Beagle bits



Hi all,

On 04/10/04 09:37, Michael Bayne wrote:
I fixed a small bug in ImLog where it was failing to close a StreamReader (this caused it to freak out when parsing old-style GAIM logs where it creates multiple GaimLog instances for the same file, but the first one leaves its StreamReader open, preventing all subsequent instances from opening and reading the file).

Hurray!  I think that should close bug #153126.

I haven't looked into it more closely, but queries from the GAIM log take an unexpectedly long time to return (10 to 15 seconds), but I only have about 6 megs of conversation logs (the index files are about 1.3 megs). That seems unlikely to be enough data to strain Lucene.

Hmm I don't seem to have that problem. I managed to query "hi", thus pulling out over 180 conversations (and 140 other hits) from 14MB of gaim logs in under 5 seconds...

While I'm yapping, does anyone know if there exists something like the Java Mail library for C#/Mono? I'd like to write a Queryable that talks directly to an IMAP server as I don't happen to use Evolution.

I don't know of any such libraries, I'm afraid. But are you sure this is the best way to go about things? I believe the preference with Beagle is to index data already on your computer rather than access the network/implement many different protocols. Or perhaps I'm just fearing for the safety of my IMAP folders.. ;)

I don't know what mail client you have in mind, but I'm not an Evolution user either. I know Thunderbird similarly provides mail summary files, however it seems parsing them may be fairly difficult [1].

Regards,
Chris

[1] http://www.livejournal.com/users/jwz/312657.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]