If you can send out: * your schema.xml * your solrconfig.xml * an XML file containing a couple of example <add><doc>... directives for your schema
...that folks can use to try and recreate your situation, that would be the best way to help figure out what problem you may be having. : Date: Thu, 14 Sep 2006 13:40:56 -0400 : From: Tim Archambault <[EMAIL PROTECTED]> : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Re: duplicating all records added to index : : Thanks Yonick. I should not have sent the example code as I later changed : the "obituaries_" issue. I deleted the whole index folder and started over : and made sure the pk from the obits table was included in all obituary_#pk# : from the database and still got dupes. : : I also searched to see if I had multiple declarations for "ID" in my schema : and did not. : : I'm going to bomb it and start over tonight. : : Learning as I go I guess. : : : On 9/14/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: : > : > On 9/14/06, Tim Archambault <[EMAIL PROTECTED]> wrote: : > > My index seems to be duplicating all records on insert even though I : > have my : > > add statements set to not allow duplicates. : > : > How did you verify this? : > When you do a search on id:obituaries_ do you get more than a single : > result? : > : > > <add allowDups="false" overwriteCommitted="true" : > overwritePending="true"> : > : > These options are the default... you shouldn't need to provide them. : > Try removing the options on the outside chance an option-parsing bug : > was introduced at some point. : > : > -Yonik : > : -Hoss