lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darniz <rnizamud...@edmunds.com>
Subject error while doing partial update using curl
Date Mon, 26 Nov 2012 09:26:26 GMT
Hello
i am trying to update a filed in my solr doc using curl, dont know why its
giving me this error when i try to do this statment

curl 'myhostname:8080/solr/update?commit=true' -H
'Content-type:application/json' -d
'[{"id":"contentId#63481697","price":{"set":16595}}]'

i am getting this error
<response>
<lst name="responseHeader"><int name="status">400</int><int
name="QTime">0</int></lst><lst name="error"><str name="msg">Unexpected
character '[' (code 91) in prolog; expected '&lt;'
 at [row,col {unknown-source}]: [1,1]</str><int name="code">400</int></lst>
</response>

any help will be appreciated.

Thanks




--
View this message in context: http://lucene.472066.n3.nabble.com/error-while-doing-partial-update-using-curl-tp4022313.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message