Hi all, here is the situation (SOLR 4.0 ) I am trying to run basic tests (manually) on my solr index and havent been able to get updates working
this is a piece from my schema file: <field name="id" type="string" indexed="true" stored="true" required="true"/> <field name="myField" type="text_general" indexed="true" stored="true"/> and then i add a document, something like <doc> <str name="id">1</str> <str name="myField">myValue</str> </doc> by using this command : curl http://localhost:8983/solr/update?commit=true -H 'Content-type:application/json' -d '{ "add":{ "doc": { "id": "1", "myField": "myValue"} }}}' until this point everything seems okay, but when i try to update the same document with this command: curl http://localhost:8983/solr/update?commit=true -H 'Content-type:application/json' -d '{ "add":{ "doc": { "id": "1", "myField": {"set":"myNewValue"} }}}' the document on index becomes this : <doc> <str name="id">1</str> <str name="myField">{set=myNewValue}</str> </doc> It seems like I am not able to update the field on the document? or something is missing in the commands? ----- Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/Single-Field-Update-fails-with-curl-tp4006545.html Sent from the Solr - User mailing list archive at Nabble.com.