<html>
<head>
<style type="text/css">
body,p,td,div,span{
font-size:14px;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
};
body p{
margin:0px;
}
</style>
</head>
<body>Thank you.<div><br></div><div>Would it be complicated to extend this option and create a new one called 'fts_skip_body' which in turn would exclude the body of the e-mail from being indexed ?</div><div><br></div><div>I imagine it would have to propagate all the way to plugins/fts/fts-build-mail.c and set skip_body to true.</div><div><br></div><div><br>On Tuesday, 22/09/2020 at 02:33 Aki Tuomi wrote:<br><blockquote style="border:0;border-left: 2px solid #22437f; padding:0px; margin:0px; padding-left:5px; margin-left: 5px; ">On 18.9.2020 17.45, Scott Q. wrote:<br>
> Does anyone know if it's possible to do FTS Index based on a userdb<br>
> preference ? Basically if the preference is 'on' , dovecot goes ahead<br>
> with the fts indexing for that particular user.<br>
><br>
> I'm guessing right now it's not possible but is there anyone that<br>
> could envision writing such a patch ? If so, can you contact me off-list ?<br>
<br>
<br>
Totally possible, just return from your userdb `fts=solr` (e.g.) to turn<br>
on fts processing for some user.<br>
<br>
If you are using passwd-file, you need to use userdb_fts=solr.<br>
<br>
Aki</blockquote></div></body></html>