Re: UUIDUpdateProcessorFactory causes repeated documents when uploading csv files?
It's a single Solr Instance, and in my files, I used 'doc_key' everywhere, but I changed it to "id" in the email I sent out wanting to make it easier to read, sorry don't mean to confuse you :) On Fri, Jan 2, 2015 at 4:06 PM, Alexandre Rafalovitch wrote: > On 2 January 2015 at 15:43, wrote: > > id > > Your uniqueKey does not seem to be the 'doc_key' that the URP is asked > to generate. I wonder if that is causing the issue. Are you > deliberately generating a field different from one defined as unique > id? > > Regards, >Alex. > > > Sign up for my Solr resources newsletter at http://www.solr-start.com/ >
Re: UUIDUpdateProcessorFactory causes repeated documents when uploading csv files?
Thank you for your reply Chris :) Solr is producing the correct result on its own. The problem is that I am calling a dataload class to call Solr, which worked for assigned ID and composite ID, but not for UUID. Is there a place to delete my question on the mailing list? Thank you, Jia On Wed, Jan 7, 2015 at 8:47 PM, Chris Hostetter wrote: > > : It's a single Solr Instance, and in my files, I used 'doc_key' > everywhere, > : but I changed it to "id" in the email I sent out wanting to make it > easier > : to read, sorry don't mean to confuse you :) > > https://wiki.apache.org/solr/UsingMailingLists > > - what version of solr? > - how exactly are you doing the update? curl? post.jar? > - what exactly is the HTTP response from your update? > - what does your log file show during the update? > - what exactly do all of your configs look like (you said you made a > mistake in your email by trying to make the data "easier to read" that > could easily be masking some other mistake in your actual cnfigs > > I did my best to try and reproduce what you describe, but i had no > luck -- here's exactly what i did... > > > hossman@frisbee:~/lucene/lucene-4.10.3_tag$ svn diff > Index: solr/example/solr/collection1/conf/solrconfig.xml > === > --- solr/example/solr/collection1/conf/solrconfig.xml (revision 1650199) > +++ solr/example/solr/collection1/conf/solrconfig.xml (working copy) > @@ -1076,7 +1076,17 @@ > dedupe > > --> > + > + autoGenId > + > > + > + > + id > + > + > + > + > >
Re: UUIDUpdateProcessorFactory causes repeated documents when uploading csv files?
Problem solved - it's caused by a system outside of Solr. Thank you all for the prompt replies! :) On Thu, Jan 8, 2015 at 12:40 PM, Chris Hostetter wrote: > : Thank you for your reply Chris :) Solr is producing the correct result > on > : its own. The problem is that I am calling a dataload class to call Solr, > : which worked for assigned ID and composite ID, but not for UUID. Is > there a > > Sorry -- still confused: are you confirming that you've tracked down the > problem you are having to a system outside of Solr? that the problem (of > duplicate documents) is introduced by your "dataload class" prior to > sending the docs to Solr? > > : place to delete my question on the mailing list? > > nope - once the emails have gone out, they've gone out -- just replying > back and confirming the resolutionn to the problem you saw is good enough. > > > > -Hoss > http://www.lucidworks.com/ >