Xapian searches of the body of an email

Egoitz Aurrekoetxea egoitz at sarenet.es
Mon Jan 7 10:43:47 EST 2019


Hi Sebastian, 

I'll answer below (and in green) your answers!! Thanks a lot for your
explanations mate :) :)

---

EGOITZ AURREKOETXEA 
Departamento de sistemas 
944 209 470
Parque Tecnológico. Edificio 103
48170 Zamudio (Bizkaia) 
egoitz at sarenet.es 
www.sarenet.es [1] 
Antes de imprimir este correo electrónico piense si es necesario
hacerlo. 

El 07-01-2019 15:57, Sebastian Hagedorn escribió:

> Hi,
> 
> --On 7. Januar 2019 um 14:51:02 +0100 Egoitz Aurrekoetxea <egoitz at sarenet.es> wrote:
> 
>> This seems to take ages...
> 
> why don't you run it for a single account first, to make sure that it actually helps? 
> 
> ====================================================================================================== 
> 
> YES :) IT HAS WORKED AS EXPECTED FOR A SINGLE ACCOUNT! HAVE LAUNCHED LATER THE : 
> 
> /USR/LOCAL/CYRUS/SBIN/CTL_CONVERSATIONSDB -R -Z 
> 
> (STILL RUNNING) 
> 
> AND LATER THE : 
> 
> /USR/LOCAL/CYRUS/SBIN/CTL_CONVERSATIONSDB -R -B 
> 
> ====================================================================================================== 
> 
>> I'm trying to figure the best way of
>> implementing this and of clarifying concepts.... I'm running Squatter in
>> rolling replication mode and exist the concept of conversations then.
>> What is the exact role of each of them?. Squatter seems to index the
>> mailbox but when something is not properly indexed instead of running
>> Squatter you use ctl_conversations for reindexing some part again or...
> 
> squatter is nowadays a bit of a misnomer, because it uses whatever index you have configured. In cyrus 2.4, squatter would always create a SQUAT index. When you run squatter with Xapian, it will build the index, but for the index to actually work, you also need the conversationsdb. squatter does not touch the conversationsdb! The index is only a pointer to the conversationsdb, not to actual messages. 
> 
> ====================================================================================================== 
> 
> I SEE!! THIS WAS THE KEY POINT I WAS LOOSING OR WHICH I WAS NOT ABLE TO SEE HOW ALL OF THEM WHERE RELATED... 
> 
> ====================================================================================================== 
> 
> Robert can probably explain this much better than me, but I think the problem is the following:
> 
> * when you have conversations enabled in imapd.conf, normal deliveries to the mailboxes (e.g. using lmtpd) will update the conversationsdb
> 
> * syncing (at least using the "old" mechanism, not sure about sync between instances running 3.0)  does *not* update the conversationsdb 
> 
> ====================================================================================================== 
> 
> ALTHOUGH I ASSUME, HERE IF YOU RUN THE SQUATTER IN ROLLING MODE WITHIN A SLAVE SERVER SEEMS TO UPDATE THE INDEX... ALTHOUGH NOT SURE IF IT COULD DO TOO WITH CONVERSATIONSDB.. HOW DOES A SLAVE BEHAVE IN THIS SENSE?. COULD ANYONE HELP US PLEASE :) ?? 
> 
> ====================================================================================================== 
> 
> Once you have a running 3.0 server, you probably won't need to run ctl_conversationsdb ever again. But when you are at the stage of syncing mail from 2.4 to 3.0, you *will* need to rebuild each user's conversationdb at least once, after you have finished with syncing that user. 
> 
> ====================================================================================================== 
> 
> THIS IS IMPORTANT YES... 
> 
> ====================================================================================================== 
> 
> Again, this is all based on my understanding and not an official answer. 
> 
> ====================================================================================================== 
> 
> ANY I THANK A LOT ALL YOUR HELP!! MANY MANY THANKS MATE!! 
> 
> CHEERS!! 
> 
> ======================================================================================================
> 
> El 07-01-2019 10:19, Sebastian Hagedorn escribió:
> 
> That sounds like the conversationsdb issue I was talking about. Have you
> tried these steps?
> 
> ctl_conversationsdb -z USER
> ctl_conversationsdb -b USER

Mit freundlichen Grüßen

Sebastian Hagedorn 

Links:
------
[1] http://www.sarenet.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20190107/7de5371c/attachment-0001.html>


More information about the Info-cyrus mailing list