<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>Hello,<br></div>
<div><br></div>
<div>On Thu, Jan 3, 2019, at 3:55 PM, Egoitz Aurrekoetxea wrote:<br></div>
<blockquote type="cite"><p>I was planning to perform mailboxes squattering in rolling mode. Have you had some kind of expience on searching with Xapian and IMAP protocol?. Perhaps is more designed for JMAP?. Or perhaps, using it with IMAP is not so advantageous?. <br></p></blockquote><div><br></div>
<div>Both IMAP and JMAP search share the same core search API in Cyrus, so all search features available in JMAP can also be used using IMAP. The key is to use FUZZY search for text search, and this can be an advantage especially for non-English search over the other search backends.<br></div>
<div><br></div>
<div>The complete list of attributes to search is in this C file: <a href="https://github.com/cyrusimap/cyrus-imapd/blob/master/imap/search_expr.c#L2235">https://github.com/cyrusimap/cyrus-imapd/blob/master/imap/search_expr.c#L2235</a> Any attribute that is marked SEA_FUZZABLE will get stored in Xapian and is available for stem-based search.<br></div>
<div><br></div>
<div>I'm not sure if there's better documentation on the non-standard fields, but if you have any questions feel free to ask!<br></div>
<div><br></div>
<div>Cheers,<br></div>
<div>Robert<br></div>
<div><br></div>
</body>
</html>