Have you defined a uniqueKey in your schema?

http://wiki.apache.org/solr/SchemaXml#The_Unique_Key_Field


On Wednesday 30 March 2011 13:16:02 Carl-Erik Herheim wrote:
> Hi list,
> I've got a multi-core solr index that is indexed through solrj. The
> problem is that already existing documents don't get overwritten when
> they are re-indexed. This means we have to empty the index whenever we
> want to update it, which isn't really an option. From what I've been
> reading I was under the impression that documents get overwritten by
> default, but that doesn't seem to be the case. Is there anything I can
> do to force overwriting?
> The way we index it now is (to put it simply):
> CommonsHttpSolrServer.add(List<SolrInputDocument>)
> 
> Any help appreciated, thanks!
> 
> - Carl-Erik

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Reply via email to