Re: Cyrus-imapd 3.0.7 xapian searching setup

Tomas Korbar <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <CABpWmcz63fgDEY6OptBQXd3OOcS2FgWXyqTQCxmPfjx3Lzqezw@mail.gmail.com>
Hi Sebastian,
Thanks for this information, you really helped me out.

Have an excellent day.

On Wed, Sep 8, 2021 at 3:28 PM Sebastian Hagedorn <[email protected]> wrote:
>
> 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-M56a28696a67fed27f0d7ef14
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
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.