Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Mikhail Khludnev
It seems like by-design https://issues.apache.org/jira/browse/SOLR-5211 you can't update a parent doc from the block. On Tue, Oct 7, 2014 at 9:44 AM, Ali Nazemian wrote: > The list of docs before do partial update: > > product01 > car > product >

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Ali Nazemian
The list of docs before do partial update: product01 car product part01 wheels part part02 engine part

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Alexandre Rafalovitch
Can you upload the update documents then (into a Gist or similar). Just so that people didn't have to re-imagine exact steps. Because, if it fully checks out, it might be a bug and the next step would be creating a JIRA ticket. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalo

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Ali Nazemian
Dear Alex, Hi, LOL, yeah I am sure. You can test it yourself. I did that on default schema too. The results are same! Regards. On Mon, Oct 6, 2014 at 4:20 PM, Alexandre Rafalovitch wrote: > A stupid question: Are you sure that what schema thinks your uniqueId > is - is the uniqueId in your setup

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Alexandre Rafalovitch
A stupid question: Are you sure that what schema thinks your uniqueId is - is the uniqueId in your setup? Also, that you are not somehow using the flags to tell Solr to ignore duplicates? Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://

duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Ali Nazemian
Dear all, Hi, I am going to do partial update on a field that has not any value. Suppose I have a document with document id (unique key) '12345' and field "read_flag" which does not index at the first place. So the read_flag field for this document has not any value. After I did partial update to t