Re: overwriting entries when indexing

2011-03-30 Thread Erick Erickson
Let's see the schema file and a sample input document please. Possibly there's something you're overlooking... And what is your evidence that the document isn't overwritten? Because an update is really a delete, followed by an add. The delete just marks the document as deleted, it doesn't physical

Re: overwriting entries when indexing

2011-03-30 Thread Markus Jelsma
Are you actually sending in documents with the field specified in uniqueKey with existing values? On Wednesday 30 March 2011 13:59:15 Carl-Erik Herheim wrote: > Yes, I have. > > Den 30.03.2011 13:41, skrev Markus Jelsma: > > Have you defined a uniqueKey in your schema? > > > > http://wiki.apach

Re: overwriting entries when indexing

2011-03-30 Thread Carl-Erik Herheim
Yes, I have. Den 30.03.2011 13:41, skrev Markus Jelsma: 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

Re: overwriting entries when indexing

2011-03-30 Thread Markus Jelsma
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

overwriting entries when indexing

2011-03-30 Thread Carl-Erik Herheim
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