[imp] Add purge argument to Smart Search CLI indexer. Fixes #3348