Re: Xapian/Cyrus/Thunderbird

2018-05-21 Thread Robert Stepanek
Hi Albert, On Fri, May 18, 2018, at 22:39, Albert Shih wrote: > After turn on telemetry it's seem Thunderbird just do a « classic » search. > > So that's mean when I do search from Thunderbird it's very slow, and I > build the xapian index for almost nothing because almost 90% of my users > use T

Re: Xapian/Cyrus/Thunderbird

2018-05-18 Thread Albert Shih
Le 11/05/2018 à 13:32:29+0200, Robert Stepanek a écrit > > On Fri, May 11, 2018, at 13:04, Sebastian Hagedorn wrote: > > For my understanding: does that mean the Xapian index is only used > > for clients that support RFC 6203? If that is the case, how are > > "traditional" IMAP searches handled? >

Re: Xapian/Cyrus/Thunderbird

2018-05-17 Thread Albert Shih
Le 14/05/2018 à 14:35:21+0200, Sebastian Hagedorn a écrit > > On Fri, May 11, 2018, at 14:25, Sebastian Hagedorn wrote: > >> --On 11. Mai 2018 um 13:32:29 +0200 Robert Stepanek > >> wrote: > >> > For non-FUZZY text SEARCH, Cyrus attempts to match the string on its > >> > own [1]. > >> > >> That s

Re: Xapian/Cyrus/Thunderbird

2018-05-14 Thread Sebastian Hagedorn
On Fri, May 11, 2018, at 14:25, Sebastian Hagedorn wrote: --On 11. Mai 2018 um 13:32:29 +0200 Robert Stepanek wrote: > For non-FUZZY text SEARCH, Cyrus attempts to match the string on its > own [1]. That sounds strange to me, because Cyrus 2.4 and earlier don't support FUZZY, and there the SQU

Re: Xapian/Cyrus/Thunderbird

2018-05-14 Thread Robert Stepanek
On Fri, May 11, 2018, at 14:25, Sebastian Hagedorn wrote: > --On 11. Mai 2018 um 13:32:29 +0200 Robert Stepanek > wrote: > > For non-FUZZY text SEARCH, Cyrus attempts to match the string on its own > > [1]. > > That sounds strange to me, because Cyrus 2.4 and earlier don't support > FUZZY, and

Re: Xapian/Cyrus/Thunderbird

2018-05-11 Thread Sebastian Hagedorn
--On 11. Mai 2018 um 13:32:29 +0200 Robert Stepanek wrote: On Fri, May 11, 2018, at 13:04, Sebastian Hagedorn wrote: For my understanding: does that mean the Xapian index is only used for clients that support RFC 6203? If that is the case, how are "traditional" IMAP searches handled? For n

Re: Xapian/Cyrus/Thunderbird

2018-05-11 Thread Robert Stepanek
On Fri, May 11, 2018, at 13:04, Sebastian Hagedorn wrote: > For my understanding: does that mean the Xapian index is only used for > clients that support RFC 6203? If that is the case, how are "traditional" > IMAP searches handled? For non-FUZZY text SEARCH, Cyrus attempts to match the string o

Re: Xapian/Cyrus/Thunderbird

2018-05-11 Thread Sebastian Hagedorn
--On 11. Mai 2018 um 13:12:57 +0200 Sebastian Hagedorn wrote: --On 9. Mai 2018 um 09:53:23 +0200 Robert Stepanek wrote: search_index_headers: no The rest of your config looks fine, but you might want to change search_index_headers to yes, in case you are doing a lot of searches on the

Re: Xapian/Cyrus/Thunderbird

2018-05-11 Thread Sebastian Hagedorn
--On 9. Mai 2018 um 09:53:23 +0200 Robert Stepanek wrote: search_index_headers: no The rest of your config looks fine, but you might want to change search_index_headers to yes, in case you are doing a lot of searches on the From:, To:, etc headers. If disabled, searching these headers stil

Re: Xapian/Cyrus/Thunderbird

2018-05-11 Thread Sebastian Hagedorn
--On 5. Mai 2018 um 16:01:31 +0200 Robert Stepanek wrote: Next, make sure that the IMAP commands submitted by your clients are using SEARCH FUZZY. You might want to inspect the IMAP telemetry to check this. For my understanding: does that mean the Xapian index is only used for clients tha

Re: Xapian/Cyrus/Thunderbird

2018-05-09 Thread Robert Stepanek
Hi, On Wed, May 9, 2018, at 09:45, Albert Shih wrote: > So I get > > "search": { > "squat": true, > "sphinx": false, > "xapian": true, > "xapian_flavor": "vanilla" > }, > > I don't know if vanilla are a correct value of xapian_flavor, I would say > yes because vanilla are ...

Re: Xapian/Cyrus/Thunderbird

2018-05-09 Thread Albert Shih
Le 05/05/2018 à 16:01:31+0200, Robert Stepanek a écrit Hi, > > On Fri, May 4, 2018, at 14:48, Albert Shih wrote: > > > Is they are any way to make a test to know if xapian work or not ? > > Cyrus comes with two binaries that will tell you its build and > runtime configuration: > > E.g. running > >

Re: Xapian/Cyrus/Thunderbird

2018-05-05 Thread Robert Stepanek
Hi, On Fri, May 4, 2018, at 14:48, Albert Shih wrote: > Is they are any way to make a test to know if xapian work or not ? Cyrus comes with two binaries that will tell you its build and runtime configuration: E.g. running $ /usr/cyrus/sbin/cyr_buildinfo on my development server yields a

Re: Xapian/Cyrus/Thunderbird

2018-05-04 Thread Albert Shih
Le 04/05/2018 à 14:48:49+0200, Albert Shih a écrit > Hi, > > So I've installed cyrus-imapd 3.0.5 with xapian. > > I configure and launch xapian according to > > https://www.cyrusimap.org/imap/developer/install-xapian.html > > and I currently launch in a console > > /usr/local/cyrus/sbin/squatte

Xapian/Cyrus/Thunderbird

2018-05-04 Thread Albert Shih
Hi, So I've installed cyrus-imapd 3.0.5 with xapian. I configure and launch xapian according to https://www.cyrusimap.org/imap/developer/install-xapian.html and I currently launch in a console /usr/local/cyrus/sbin/squatter to indexe all the mail I got (imapsync). The problem is on two l