SolrJ SolrInputDocument#addField doesn't throw an exception

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SolrJ SolrInputDocument#addField doesn't throw an exception

Leonardo Perez Pulido
Hi all,
It would be nice if org.apache.solr.common.SolrInputDocument#addField throw
an exception when field name is 'id' and the method detect that the indexed
id is not unique, just like the post.jar tool.
I was confident that both had the same behavior, so...
Thanks.