[Dovecot] Also - is there a reliable way for TB to know it is connecting to a dovecot server?
This would be so it could auto-disable GLODA - its new 'Global Search and Indexing' scheme - for that account - assuming they accept (and implement) my bug request to be able to do that:
On 4.2.2010, at 0.14, Charles Marcus wrote:
This would be so it could auto-disable GLODA - its new 'Global Search and Indexing' scheme - for that account - assuming they accept (and implement) my bug request to be able to do that:
Well, your bug report kind of assumes that all Dovecot servers would have server-side full text search indexes, but in reality very few have them enabled. That would require using Solr or Squat. And there's currently no client-visible way to know if those are enabled. Maybe FUZZY capability would in future help with that. http://tools.ietf.org/html/draft-ietf-morg-fuzzy-search-02
On 2010-02-03 5:14 PM, John Chapman <jdchapman@dupontregistry.com> wrote:
On 4.2.2010, at 0.14, Charles Marcus wrote:
This would be so it could auto-disable GLODA - its new 'Global Search and Indexing' scheme - for that account - assuming they accept (and implement) my bug request to be able to do that:
Well, your bug report kind of assumes that all Dovecot servers would have server-side full text search indexes, but in reality very few have them enabled.
Yeah, I didn't word my request very good... I meant of course if there was a reliable way for TB to detect it is connecting to a DC server that had full text search capability enabled...
I was thinking (hoping) that the IMAP CAPABILITY command could be leveraged to make this determination. From the responses both here on the enhancement request I'm guessing the answer is no, or at least 'not reliably' - obviously not something that could be done 'automatically'?
But I'd still like to pursue an enhancement to TB that would make this work if manually enabled, so...
That would require using Solr or Squat. And there's currently no client-visible way to know if those are enabled.
Could DC add that to its CAPABILITY response? Or would that be breaking the RFCs?
--
Best regards,
Charles
On 2010-02-03 5:14 PM, John Chapman <jdchapman@dupontregistry.com> wrote:
Sorry about that... the 'Change Quote and Reply Format' extension for TB has a bug in it when you use 'Reply-To-List', where it uses the wrong 'Author' - above it should have said Timo instead of 'John Chapman'.
Sorry Timo...
--
Best regards,
Charles
On Thu, 2010-02-04 at 07:32 -0500, Charles Marcus wrote:
Yeah, I didn't word my request very good... I meant of course if there was a reliable way for TB to detect it is connecting to a DC server that had full text search capability enabled...
I think clients should only care about server capabilities, not what the server software itself is.
That would require using Solr or Squat. And there's currently no client-visible way to know if those are enabled.
Could DC add that to its CAPABILITY response? Or would that be breaking the RFCs?
No, but I don't much see it helping anything. Perhaps after FUZZY extension is implemented, it could be enabled only when Solr is enabled and that could act as a hint to clients that SEARCH FUZZY is going to be fast.
Hmmm... I just had another thought...
Would it be possible for a standalone IMAP client like TB to somehow download dovecot's indexes and make use of them locally?
So, for example, instead of downloading the headers for 10000 messages in a folder, it could simply download and utilize dovecots index(es) for that folder?
I'm just trying to think outside the box with respect to large IMAP stores and how to improve the performance - both initialization (the first time a client connects to an account) and ongoing search...
--
Best regards,
Charles
On Thu, 2010-02-04 at 07:39 -0500, Charles Marcus wrote:
Would it be possible for a standalone IMAP client like TB to somehow download dovecot's indexes and make use of them locally?
So, for example, instead of downloading the headers for 10000 messages in a folder, it could simply download and utilize dovecots index(es) for that folder?
Well, those are basically the same things. Dovecot's indexes contain the headers that TB wants, so it already kind of fetches the indexes.. The only way to avoid fetching all of them would be if TB was smart and fetched headers of messages only visible on screen. There are two clients I know of that supports that: (Al)pine and Trojita.
participants (2)
-
Charles Marcus
-
Timo Sirainen