[Dovecot] fts plugin - purpose of get_last_uid() ?
Per Jessen
per at computer.org
Fri Sep 17 15:16:14 EEST 2010
Per Jessen wrote:
> Timo Sirainen wrote:
>
>> On 17.9.2010, at 9.46, Per Jessen wrote:
>>
>>> It looks like the uid returned is only used as an indication of
>>> whether the maildir is fully indexed or not, is that correct?
>>
>> Yes.
>>
>>> In my setup, the index is built externally and will _always_ be
>>> up-to-date. Getting the last uid would mean running a query, which,
>>> whilst inexpensive, seems unnecessary if my understanding of the
>>> purpose of get_last_uid() is correct.
>>
>> Right.
>
> I guess I left out the most important question - what could I return
> as last uid to indicate 'all indexed'?
got it - maildir_uidlist_get_next_uid().
/Per Jessen, Zürich
More information about the dovecot
mailing list