Jonathan,

I'd have to test to double-check how things work when the unique key field is 
of type "text", if your "text" type is the same or similar to the one from the 
example schema.xml.  You probably don't want that field to be of type text.  
Maybe int, or maybe string

 Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Jonathan Vanasco <jvana...@2xlp.com>
> To: solr-user@lucene.apache.org
> Sent: Friday, June 19, 2009 8:49:26 PM
> Subject: trouble with 'unique' key - documents add, not replace
> 
> as far as i understand from the docs, with a schema.xml like this...
> 
>     
>         
> required="true" />
>     
>     uid
> 
> any items with the same uid in it should replace existing ones on the commit .
> 
> is this correct ?  because it seems that i do not replace, but only add new 
> records
> 
> i've obviously gotten something wrong.  any help would be appreciated.

Reply via email to