SOLR-1361 -- Incorrect javadoc on SolrInputDocument addField

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@804088 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-08-14 06:24:32 +00:00
parent 6b0f99d6ad
commit 175f81950e
1 changed files with 6 additions and 1 deletions

View File

@ -122,7 +122,12 @@ public class SolrInputDocument implements Map<String,SolrInputField>, Iterable<S
} }
/** /**
* 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 ) public void addField(String name, Object value, float boost )
{ {