There is also seems to be a mistake in the json of the doc for indexing that you provided.
About your question how to construct ranked feature query on a nested field, you do it similarly to any other nested query -- you nest it under nested keyword, like this:
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.