I am able to create a custom track following these instructions.
But the target index I am using has over 5 mil documents. It's taking too long to create the custom track and I don't even need that many documents to run my test. I would like to restrict the number of documents added to the custom track to say 5k.
I am using the above command, just changing the args to point to my target index. This target index has over 5 mil documents. The above command tries to create the custom track with all the 5 mill documents. I would like to limit it to only 5000 documents or % of my choosing.
esrally-documents index has 5 million documents. I am using the reindex api to create a new index esrally-5k-documents with 5000 documents. Then running the create-track on this new index.
This is currently your best option, in my opinion. Note that 5k documents may not be enough to reliably reproduce benchmark results, but as you already know you can get more later with this same method.
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.