Please look at https://wiki.apache.org/solr/Atomic_Updates
This does what you want just update relevant fields. Thanks, Himanshu On Tue, Jul 8, 2014 at 1:09 PM, Ali Nazemian <alinazem...@gmail.com> wrote: > Dears, > Hi, > According to my requirement I need to change the default behavior of Solr > for overwriting the whole document on unique-key duplication. I am going to > change that the overwrite just part of document (some fields) and other > parts of document (other fields) remain unchanged. First of all I need to > know such changing in Solr behavior is possible? Second, I really > appreciate if you can guide me through what class/classes should I consider > for changing that? > Best regards. > > -- > A.Nazemian >