Re: Xapian/Cyrus/Thunderbird

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 JSON-formatted output about Cyrus build config. Look for something like

   "search": {
    "squat": true,
    "xapian": true,
    "xapian_flavor": "cyruslibs"
  },

to check if Xapian is enabled in the build (presumably, yes, since you have *.glass databases in your directories).

Next, cyr_info will tell you, if xapian got enabled indeed at runtime:

    $ /usr/cyrus/sbin/cyr_info -C  <your-config-dir>/imapd.conf conf-all | grep search

should yield something like
 
    [...]
    search_engine: xapian

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.

If all these checks passed, there shouldn't be any reason why Cyrus should not use Xapian during search. One might want to enable verbose logging for search then, but unfortunately, that's currently not a runtime-option.

Cheers,
Robert
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux