Add purge argument to Smart Search CLI indexer.
Closes #3346
Add purge argument to Smart Search CLI indexer. Closes #3466