Re: Cyrus-imapd 3.0.7 xapian searching setup

Sebastian Hagedorn <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
On 8 Sep 2021, at 15:12, [email protected] wrote:

> Although squatter is creating index and everything looks ok in /var/cyrus/search,
> imapd is not accessing any index or database and according to strace monitoring which
> i did, it accesses all mail files and not only the one containing my searched string or at least smaller set of files.
> I am creating 1 mailbox user/joe and delivering 1000 mails containing short random sets of words.
> I triggered search with imtest and commands:
> a SELECT "user/joe"
> b SEARCH TEXT "monday"
>
> Can anybody please explain to me, in what circumstances is the index supposed to work or what
> am i doing wrong?
> Thanks for any help or information.

Xapian is by default only used for fuzzy searches. In later versions you can override that behavior with

search_fuzzy_always: 1

but AFAIR that switch isn’t in 3.0.7.
-- 
   .:.Sebastian Hagedorn - Weyertal 121 (Gebäude 133), Zimmer 2.02.:.
                .:.Regionales Rechenzentrum (RRZK).:.
  .:.Universität zu Köln / Cologne University - ✆ +49-221-470-89578.:.


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tde58aaf49d5076c9-Mb7f296e75ca5f42306bbe3c1
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
smime.p7s (application/pkcs7-signature, 4.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.