For now,I used solr 4.7.1, when I test the partial update operation, I found it worked fine in HttpSolrServer, But when I used solr cloud CloudSolrServer , it cannot be supported!!!
The document will be updated totally instead of partial update!!! The code I used in my program Map<String, String> boxUpdateMap = new HashMap<String, String>(); > boxUpdateMap.put("set", boxId); > Map<String, String> folderUpdateMap = new HashMap<String, String>(); > folderUpdateMap.put("set", folderId); > Map<String, List<String>> tagUpdateMap = new HashMap<String, >List<String>>(); > tagUpdateMap.put("set", tagList); > > > document.addField("box", boxUpdateMap); > document.addField("folder", folderUpdateMap); > document.addField("tag", tagUpdateMap); Does anyone give some advice for me? Thank you very much! Best Regards, -- Gabriel Zhang