Question about squatter for Xapian
Rob N ★
robn at fastmail.com
Thu Jan 23 17:04:54 EST 2020
On Fri, 24 Jan 2020, at 4:38 AM, egoitz at sarenet.es wrote:
> - Does it regenerate all mailboxes indexes?. Just the non-indexed emails?. I assume it should be extremely slow… so could this be launched?. Could you advise me please, if another way is preferred?
Normally, just the non-indexed emails.
squatter -i (incremental) should be all you need to fill the gaps in your index.
Obviously how long it takes depends on how much mail has arrived and how good your disks are, but for 12 hours worth I wouldn't expect more than a couple of hours to fill the gaps.
> - I assume not, but as we move records between Xapian tiers nightly… if the Squatter launched by me, by hand (for those non indexed emails), runs at the same time as this between tiers movement of records or at the same time too as the rolling mode squatter (-R) could one squatter process interfere in the job of the other instance of squatter?.
It's ok to run them all at the same time. Cyrus has appropriate locks to make sure that Xapian updates and repacks don't get in each others' way.
Rob N.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20200124/a37a0008/attachment.html>
More information about the Info-cyrus
mailing list