Author: shalin
Date: Tue Sep 22 19:59:55 2009
New Revision: 817804
URL: http://svn.apache.org/viewvc?rev=817804&view=rev
Log:
SOLR-1451 -- SolrPluginUtils#parseFieldBoosts has inconsistent javadoc
Modified:
lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java
URL:
http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java?rev=817804&r1=817803&r2=817804&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java
(original)
+++ lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java Tue
Sep 22 19:59:55 2009
@@ -499,8 +499,8 @@
* 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) {