On 4/14/2014 7:52 AM, sachin.jain wrote:
> It makes sense now, but I am a little surprised that solr does not convert
> the object into a json form, I have to use a google library to do that.  

Currently Solr treats a Map as a request for an Atomic Update.  The key
must be add, inc, or set ... if it's something else and you don't have a
custom update processor designed to consume that Map, an error will be
thrown.  SOLR-3862 aims to add "remove" functionality as well.

http://wiki.apache.org/solr/Atomic_Updates

Thanks,
Shawn

Reply via email to