lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: SOLRJ Atomic updates of String field
Date Wed, 12 Nov 2014 07:30:55 GMT
Hi Bbarani,

Partial update solrJ example can be found in :


On Tuesday, November 11, 2014 8:51 PM, bbarani <> wrote:
I am using the below code to do partial update (in SOLR 4.2)

partialUpdate = new HashMap<String, Object>();
doc.setField(description, partialUpdate);

I am seeing the below description value with {set =...}, Any idea why this
is getting added?

<str name="description">
{set=The iPhone 6 Plus features a 5.5-inch retina HD display, the A8 chip
for faster processing and longer battery life, the M8 motion coprocessor to
track speed, distance and elevation, and with an 8MP iSight camera, you can
record 1080p HD Video at 60 FPS!}

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message