There are some conveniences in the API for common use-cases (e.g. metric), but they aren't documented. So I wouldn't rely on it, and use named parameters instead.
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.