Add snippets to Gloda conversations (good for Thunderbird Air)

NEW
Unassigned

Status

MailNews Core
Database
--
enhancement
7 years ago
7 years ago

People

(Reporter: protz, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Andrew told me the Tb Air team has been considering this, and I'm interested in it as well. Basically, the general idea is to cram as much stuff as possible into the Gloda messages, so that we don't have to stream the whole message through the JS Mime Emitter just because we're missing one specific piece of information. The ultimate goal is to have enough information in the Gloda Message to build a conversation view without streaming the messages, either in Tb Air or in Conversation View.

So, this includes having a small snippet.
Hm, I had temporarily forgotten that we already should have the _indexedBodyText available for all in-memory gloda messages.

I think what Bryan wanted was snippet summaries available on the conversation object for the two oldest unread messages or something more aligned with display on a conversation scale.

In any event, certainly if we could introduce the noun type and stop fetching _indexedBodyText, that could be very useful for performance reasons as it would reduce required disk seeks since we would no longer need to perform the join.  Anything else we sketchily pull out of the fulltext table would need to come along for the ride too, though.
(Reporter)

Comment 2

7 years ago
After discussion with Andrew, this won't likely happen:
i) _indexedBodyText is fine for the conversation, as we'll just cut the N first characters to have a meaningful snippet
ii) that would bloat the size of the messages table
iii) Bryan is more interested in having the snippets for the very last messages or the first messages, not for every message.

So not taking anymore for the time being.
Assignee: jonathan.protzenko → nobody
Summary: Add a snippet noun to Gloda messages (good for Thunderbird Air and Conversation View) → Add snippets to Gloda conversations (good for Thunderbird Air)
You need to log in before you can comment on or make changes to this bug.