Why is min not available as a score_mode in nested query?
This is a serious limitation, since to select lowest value, we need to use -1 factor in function_score query, still its not possible to select minimum value from 2 subqueries as dis_max query does not work with negative scores.
The min score mode was added from version 2.0.0. So if you're on a pre 2.0.0 release it isn't available. If possible I suggest that you upgrade to the latest 2.x release to make use of the min score mode on the nested query.
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.