We tried to move to xapian, but we found it much slower than squatter, both indexing and searching.
That's why we're stuck on latest 2.x.
I feel that from 3.2 to 3.4 a refactoring has been made to the search engine code, thus killing the original code that automatically added unindexed emails applying the same filter.
Also beware that folders without a cyrus.squat (never indexed) will never return any result.
If we're able to solve the bug above, then we may fix this last behaviour by letting code search unindexed emails when the squat file is not present.
At the moment, fixing the missing squat file code, would result in an full listing at any search.
Gabriele
Sonicle S.r.l. : http://www.sonicle.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
----------------------------------------------------------------------------------
Da: Vladislav Kurz <vladislav.kurz@xxxxxxxxxxx>
A: info@xxxxxxxxxxxxxxxxxx
Data: 17 ottobre 2023 15.49.16 CEST
Oggetto: Re: Not yet squattered emails are always returned on any search (3.4 and later)
Dne 17. 10. 23 v 15:06 Gabriele Bulfon via Info napsal(a): > Hi, I want to submit also here the issue I recently opened at GitHub: > https://github.com/cyrusimap/cyrus-imapd/issues/4692 > <https://github.com/cyrusimap/cyrus-imapd/issues/4692> > Hope someone can help me to solve this, it's blocking any possible > upgrade from 2.x for years... > Hello, I was just about to report the same. I recently upgraded from Debian 3.2.6-2+deb11u2 -> 3.6.1-4+deb12u1 and ran into this issue. We are using search_engine: squat, and did not have this problem on 3.2.6. We are considering switch to xapian, not only to solve this problem, but also failing squatter on some mailboxes (https://github.com/cyrusimap/cyrus-imapd/issues/4336). but I'd like to know if this behavior is specific to squat engine or not. I do not want to get through the hassle of setting up xapian, just to run into the same problems. Also I thought rolling mode is only for Xapian, but now looking at docs and your report - is it available for classic squat too? -- Best Regards Vladislav Kurz ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/Td3a6a647edbac710-M53e262cdb3d876c79adfc4d3 Delivery options: https://cyrus.topicbox.com/groups/info/subscription