Apache Solr open-source search software
SOLR-1451 -- SolrPluginUtils#parseFieldBoosts has inconsistent javadoc
Shalin Shekhar Mangar9b97e37c1489
diff --git a/src/java/org/apache/solr/util/SolrPluginUtils.java b/src/java/org/apache/solr/util/SolrPluginUtils.javaindex a740a95ebab..76cd6832c2f 100644--- a/src/java/org/apache/solr/util/SolrPluginUtils.java+++ b/src/java/org/apache/solr/util/SolrPluginUtils.java@@ -499,8 +499,8 @@ public class SolrPluginUtils {* Like <code>parseFieldBoosts(String)</code>, but parses all the strings* in the provided array (which may be null).*- * @param fieldLists an array of Strings eg. <code>{"fieldOne^2.3", "fieldTwo"}</code>- * @return Map of fieldOne => 2.3, fieldThree => -0.4+ * @param fieldLists an array of Strings eg. <code>{"fieldOne^2.3", "fieldTwo", fieldThree^-0.4}</code>+ * @return Map of fieldOne => 2.3, fieldTwo => null, fieldThree => -0.4*/public static Map<String,Float> parseFieldBoosts(String[] fieldLists) {if (null == fieldLists || 0 == fieldLists.length) {