uniqueKey merge documents on commit

2011-03-03 Thread Tim Gilbert
Hi, I have a unique key within my index, but rather than the default behavour of overwriting I am wondering if there is a method to merge the two different documents on commit of the second document. I have a testcase which explains what I'd like to happen: @Test public void

Re: uniqueKey merge documents on commit

2011-03-03 Thread Jonathan Rochkind
Nope, there is not. On 3/3/2011 10:55 AM, Tim Gilbert wrote: Hi, I have a unique key within my index, but rather than the default behavour of overwriting I am wondering if there is a method to merge the two different documents on commit of the second document. I have a testcase which