I believe I've seen this question on the forum and I don't think there was an answer.
Perhaps in the current version of the lib it is not possible to pass these additional parameters.
Have you tried using a more generic approach?
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.