Reset contact Autocomplete ranking
|This article applies to the following ZCS versions.|
Reset contact Autocomplete ranking and delete a single contact using zmsoap
Customer would like to reset contact Autocomplete ranking to get rid of a duplicate lookup.
Autocomplete ranking is stored in the mysql database. To reset it, use the following SOAP command line:
- Reset ranking table data:-
su - zimbra zmsoap -z -m email@example.com RankingActionRequest/action @op=reset
- Remove all contacts from "Emailed Contacts" folder:-
zmmailbox -z -m USERNAME@DOMAIN.COM ef /"Emailed Contacts"
- Now flush the account cache:-
zmprov fc account USERNAME@DOMAIN.COM
If you want to delete a single contact instead of resetting the complete ranking table, then use the following commands:-
zmsoap -z -m USERNAME@DOMAIN.COM RankingActionRequest/action @op=delete @email=ANONYMOUS@gmail.com zmprov fc account USERNAME@DOMAIN.COM
Note: Replace ANONYMOUS@gmail.com with that contact which you want to delete from the ranking table.
- You can see a complete SOAP information in the next Wiki article.