add index action search by name or by date