Does anyone know if it's possible to do FTS Index based on a userdb preference ? Basically if the preference is 'on' , dovecot goes ahead with the fts indexing for that particular user. I'm guessing right now it's not possible but is there anyone that could envision writing such a patch ? If so, can you contact me off-list ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200918/e197168b/attachment.html>
On 18.9.2020 17.45, Scott Q. wrote:> Does anyone know if it's possible to do FTS Index based on a userdb > preference ? Basically if the preference is 'on' , dovecot goes ahead > with the fts indexing for that particular user. > > I'm guessing right now it's not possible but is there anyone that > could envision writing such a patch ? If so, can you contact me off-list ?Totally possible, just return from your userdb `fts=solr` (e.g.) to turn on fts processing for some user. If you are using passwd-file, you need to use userdb_fts=solr. Aki
Thank you. 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 ? I imagine it would have to propagate all the way to?plugins/fts/fts-build-mail.c? and set skip_body to true. On Tuesday, 22/09/2020 at 02:33 Aki Tuomi wrote: On 18.9.2020 17.45, Scott Q. wrote:> Does anyone know if it's possible to do FTS Index based on a userdb > preference ? Basically if the preference is 'on' , dovecot goesahead> with the fts indexing for that particular user. > > I'm guessing right now it's not possible but is there anyone that > could envision writing such a patch ? If so, can you contact meoff-list ? Totally possible, just return from your userdb `fts=solr` (e.g.) to turn on fts processing for some user. If you are using passwd-file, you need to use userdb_fts=solr. Aki -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200922/8115b9c2/attachment.html>
Possibly Parallel Threads
- FTS Index based on UserDB preference
- Bug: Dovecot index loosing sync with FTS despite "fts_autoindex = yes"
- BUG: Solr FTS engine appends domain name to index records
- Bug: Dovecot index loosing sync with FTS despite "fts_autoindex = yes"
- dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?