Hi Gabriele,
i reported the a related problem almost 5 years ago
https://github.com/cyrusimap/cyrus-imapd/issues/2598
There was a patch to to fix the problem that was merged into the master
branch and should be in cyrus 3.6. But i have not tested it jet fully.
The handeling of unindexed mails may have been not included in the patch.
I would like to see the return of a fully functional squatter, as it is much
easier to set up als xapian.
Quoting Gabriele Bulfon via Info <info@xxxxxxxxxxxxxxxxxx>:
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
Music: http://www.gabrielebulfon.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: InfoPermalink:
https://cyrus.topicbox.com/groups/info/Td3a6a647edbac710-M53e262cdb3d876c79adfc4d3Delivery options:
https://cyrus.topicbox.com/groups/info/subscription
--------------------------------------------------------------------------------
Michael Menge Tel.: (49) 7071 / 29-70316
Universität Tübingen Fax.: (49) 7071 / 29-5912
Zentrum für Datenverarbeitung mail:
michael.menge@xxxxxxxxxxxxxxxxxxxx
Wächterstraße 76
72074 Tübingen
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Td3a6a647edbac710-M6810b555986401a26f5efc03
Delivery options: https://cyrus.topicbox.com/groups/info/subscription