What was the output when you ran the index command?
Make sure you instantiated your client with the correct credentials from the "Credentials" tab on your App Search Dashboard, don't use the host_identifier and api_key from the example, make sure you've replaced them with your own.
Go to the "API Logs" tab and check whether or not those index requests were actually made on your engine. They will appear there if so.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.