lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r804088 - /lucene/solr/trunk/src/common/org/apache/solr/common/SolrInputDocument.java
Date Fri, 14 Aug 2009 06:24:32 GMT
Author: shalin
Date: Fri Aug 14 06:24:32 2009
New Revision: 804088

URL: http://svn.apache.org/viewvc?rev=804088&view=rev
Log:
SOLR-1361 -- Incorrect javadoc on SolrInputDocument addField

Modified:
    lucene/solr/trunk/src/common/org/apache/solr/common/SolrInputDocument.java

Modified: lucene/solr/trunk/src/common/org/apache/solr/common/SolrInputDocument.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/common/org/apache/solr/common/SolrInputDocument.java?rev=804088&r1=804087&r2=804088&view=diff
==============================================================================
--- lucene/solr/trunk/src/common/org/apache/solr/common/SolrInputDocument.java (original)
+++ lucene/solr/trunk/src/common/org/apache/solr/common/SolrInputDocument.java Fri Aug 14
06:24:32 2009
@@ -122,7 +122,12 @@
   }
 
   /**
-   * Remove all fields and boosts from the document
+   * Adds a field with the given name, value and boost.  If a field with the name already
exists, then it is updated to
+   * the new value and boost.
+   *
+   * @param name Name of the field to add
+   * @param value Value of the field
+   * @param boost Boost value for the field
    */
   public void addField(String name, Object value, float boost ) 
   {



Mime
View raw message