I verified, I use same field definitions:
<field name="id" type="string" indexed="true" stored="true" required="true" />
<uniqueKey>id</uniqueKey>

1.3 development version taken from SVN few months ago.

I use SOLRJ add(Collection<SolrInputDocument> docs, some docs could have same Id.

I'll double-check...
Thanks


I was adding new documents with same Id in a hope that it will replace old
one; instead, new document added with same Id. Is it bug?

It should work fine.
It might be a schema issue for you... try the solr example setup.

-Yonik




Reply via email to