Implementation of the search index action