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.

Reply via email to