Re: Help with duplicate unique IDs

2012-03-04 Thread Erick Erickson
...@griddynamics.com Sent: Fri, Mar 2, 2012 1:10 pm Subject: Re: Help with duplicate unique IDs Thanks.  In fact, the behavior I want is overwrite=true.  I want to be able to reindex documents, with the same id string, and automatically overwrite the previous version. Thomas On 03/02/2012

Help with duplicate unique IDs

2012-03-02 Thread Thomas Dowling
In a Solr index of journal articles, I thought I was safe reindexing articles because their unique ID would cause the new record in the index to overwrite the old one. (As stated at http://wiki.apache.org/solr/SchemaXml#The_Unique_Key_Field - right?) My schema.xml includes: fields... field

Re: Help with duplicate unique IDs

2012-03-02 Thread Pawel Rog
Once I had the same problem. I didn't know what's going on. After few moment of analysis I created completely new index and removed old one (I hadn't enough time to analyze problem). Problem didn't come back any more. -- Regards, Pawel On Fri, Mar 2, 2012 at 8:23 PM, Thomas Dowling

Re: Help with duplicate unique IDs

2012-03-02 Thread Mikhail Khludnev
Hello Tomas, I guess you could just specify overwrite=false http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22add.22 On Fri, Mar 2, 2012 at 11:23 PM, Thomas Dowling tdowl...@ohiolink.eduwrote: In a Solr index of journal articles, I thought I was safe reindexing

Re: Help with duplicate unique IDs

2012-03-02 Thread Thomas Dowling
Thanks. In fact, the behavior I want is overwrite=true. I want to be able to reindex documents, with the same id string, and automatically overwrite the previous version. Thomas On 03/02/2012 04:01 PM, Mikhail Khludnev wrote: Hello Tomas, I guess you could just specify overwrite=false

Re: Help with duplicate unique IDs

2012-03-02 Thread alxsss
:10 pm Subject: Re: Help with duplicate unique IDs Thanks. In fact, the behavior I want is overwrite=true. I want to be able to reindex documents, with the same id string, and automatically overwrite the previous version. Thomas On 03/02/2012 04:01 PM, Mikhail Khludnev wrote: Hello Tomas