FTS: how to remove from Solr index deleted mailbox?

Jose Celestino japc at co.sapo.pt
Mon Jan 30 01:57:35 UTC 2017


Words by Alessio Cecchi [Sun, Jan 29, 2017 at 10:55:36AM +0100]:
> Hi,
> 
> I'm running Dovecot with FTS and Apache Solr as backend.
> 
> What is the command or the query to remove from Solr a deleted user/mailbox?
> 

Something like

curl -Li 'http://$SOLR_SERVER:8983/solr/$COLLATION/update?stream.body=<delete><query>user:$USER</query></delete>&commit=true'

should do it, and can be easily included on the account deletion procedures.



More information about the dovecot mailing list