The implicit handlers
/update
and
/update/json/docs
treat the same payload differently
/update requires the payload in [ ] where as /update/json/docs does not.
{field_1:data, field_2:data} throws the error "unknown command 'field_1'..."
but the same payload to /update/json/docs works fine.
I have my own requestHandler that uses solr.UpdateRequestHandler
How can my handler to accept the payload without [ ] around the json?
I am using the script update processor but the error is thrown before I can
process the payload.
Thank you so much for any insight!
----------------------------------------------------------------------
"This message is intended for the use of the person or entity to which it is
addressed and may contain information that is confidential or privileged, the
disclosure of which is governed by applicable law. If the reader of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution, or copying of this information is strictly
prohibited. If you have received this message by error, please notify us
immediately and destroy the related message."