<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>On Fri, May 10, 2019, at 2:18 PM, Michael Menge wrote:<br></div><blockquote type="cite" id="qt"><div>no the problem is not completly resolved jet.<br></div><div>See https://github.com/cyrusimap/cyrus-imapd/issues/2598 for details.<br></div></blockquote><div><br></div><div>I tested this right now on the 3.0 branch, and I can confirm there's an issue of matches not being found. I don't have an answer why this is so, yet. I'm working on it.<br></div><div><br></div><blockquote type="cite" id="qt"><div>> I've put in my impad.conf:<br></div><div>> search_engine: squat<br></div><div>> search_fuzzy_always: 1<br></div><div><br></div><div>AFAIK the squat search engine does not support fuzzy search.<br></div><div>I am sure in my testing this setting didn't resolve the slow<br></div><div>search, but i don't remember if this setting did nothing,<br></div><div>or failed to find anything at all or what else happened<br></div><div>with this configuration.<br></div></blockquote><div><br></div><div>If I recall correctly, Cyrus uses the configured search engine only for fuzzy search. Non-fuzzy search is matched using the Cyrus-builtin routines, which will be slow: for body search it has to examine every message for that mailbox.<br></div><div><br></div><div>If your client is sending something like:<br></div><div><br></div><div> C: 6 search body "body"<br></div><div><br></div><div>then it won't use the squat/xapian index, unless you have search_fuzzy_always set.<br></div><div><br></div><div>Cheers,<br></div><div>Robert<br></div></body></html>