lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r817804 - /lucene/solr/trunk/src/java/org/apache/solr/util/SolrPluginUtils.java
Date Tue, 22 Sep 2009 19:59:57 GMT
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 =&gt; 2.3, fieldThree =&gt; -0.4
+   * @param fieldLists an array of Strings eg. <code>{"fieldOne^2.3", "fieldTwo", fieldThree^-0.4}</code>
+   * @return Map of fieldOne =&gt; 2.3, fieldTwo =&gt; null, fieldThree =&gt;
-0.4
    */
   public static Map<String,Float> parseFieldBoosts(String[] fieldLists) {
     if (null == fieldLists || 0 == fieldLists.length) {



Mime
View raw message