<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi!</p>
<div> </div>
<p>Headers are only mapped if you set search_index_headers to yes.  Although you can search by from, to, cc, subject without having it and pretty fastly. Perhaps then, Cyrus even when setting it, does a normal lookup, a non xapian lookup... although I'm not sure about it... I can say you, that you can search by from, to, cc and subject even when forcing to use Xapian (search_fuzzy_always) and having configured to not index headers (search_index_headers).</p>
<p><br /></p>
<p>You should not confuse conversations with indexes of messages. I'll clarify all this, because I have needed too to have clear this concepts.</p>
<p><br /></p>
<p>- Conversations database : It has some information from the messages and Cyrus uses it for keeping the messages sha signature of the message content. (I think headers and body...).</p>
<p>- Xapian database : database where content becomes indexed of all your indexed mailboxes (wanted to mean too... folders inside the same user).</p>
<p><br /></p>
<p>Cyrus can return you with XCONVERSATIONS IMAP extension, mail threaded in conversations. It can only return you the mails related to a conversation from the past three months... that's not tunable in the config file... so no parameter for modifying it. That does not mean, you can only search mail from three months. This just means, you can only receive conversations messages with XCONV that have been received in the past three months. If a conversation lasts 1 year (which is extremely extrange) you would only receive the present month, previous one and the previous to the previous one (if exist them) in the XCONV output. I should say too... XCONV I think is not almost supported in several IMAP mua... I think it's more designed for JMAP. IMAP muas often group by themselves mail in conversations.</p>
<p><br /></p>
<p>Apart from that, and without any relationship with conversations, you can search mail from any time back... the three months are just in terms of conversations with XCONV, which is what returns conversations from your mailbox.</p>
<p><br /></p>
<p>I think this answers to your questions... please If I'm wrong with something (which I don't think...) corrections are always very welcome :)</p>
<p><br /></p>
<p>Cheers!</p>
<p>El 2019-02-17 16:35, Дилян Палаузов escribió:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Hello,<br /> <br /> I have an understanding question about searches, conversations, and Xapian in 3.0.x:<br /> <br /> To my knowledge data (headers and body) is filled in a Xapian database.  </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">The search with the Xapian database works<br /> however only, if these messages are mapped in conversations_db.  There is a conversations_expire_days property with<br /> default 90:<br /> <br />   How long the conversations database keeps the message tracking information needed for receiving new messages in<br /> existing conversations, in days.<br /> <br /> Does this mean, that by default after 90 days messages are deleted from the conversations db and cannot be found anymore<br /> using the Xapian database?  How to setup the days, so that all messages in Xapian can be mapped to convesations_db and<br /> therefore found?<br /> <br /> Regards<br />   Дилян<br /> </div>
</blockquote>
</body></html>