Hi;

addField is works like that:

 public void addField(String name, Object value, float boost )
  {
    SolrInputField field = _fields.get( name );
    if( field == null || field.value == null ) {
      setField(name, value, boost);
    }
    else {
      field.addValue( value, boost );
    }
  }

Thanks;
Furkan KAMACI



2014-03-17 16:22 GMT+02:00 vit <bulgako...@yahoo.com>:

> Could someone explain me, please, the difference between addfield and
> setfield in SolrInputDocument
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Difference-between-addfield-and-setfield-in-SolrInputDocument-tp4124809.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to