Thanks for the quick response. Delete works fine as suggested. Still we are facing an issue in updating document rest command:
Field description in schema.xml: /curl http://192.168.213.52:8983/solr/update -H 'Content-type:application/json' -d ' [ {"id": "969dcba7c3ec49cf9d61017afe8a2768","SField2":{"set":"Bahama"} } ]'/ {"responseHeader":{"status":500,"QTime":2},"error":{"msg":"For input string: \"8888888888\"","trace":"java.lang.NumberFormatException: For input string: \"8888888888\"\n\tat java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) *Server Log:* 2069175 [qtp17275133-18] INFO org.apache.solr.update.processor.LogUpdateProcessor – [collection1] webapp=/solr path=/update params={} {} 0 2 2069176 [qtp17275133-18] ERROR org.apache.solr.core.SolrCore – java.lang.NumberFormatException: For input string: "8888888888" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:495) at java.lang.Integer.valueOf(Integer.java:582) On the other hand we are able to update from UI(http://<<IP>>:8983/solr/#/collection1/documents). Please find attached snap. <http://lucene.472066.n3.nabble.com/file/n4131751/updateDocument.png> While updating a field vaule(From Solr UI Screen) in a document for example: As shown in the attached screenshot we are able to update the value of SField2 to Bahama but when we fire query with the same id we only see the latest value of SField2 in the response, however we have other fields defined in schema as stored=true. Though we were expecting that our query with same id should give all stored attribute including Sfield2 with latest value. Please let us know if we are missing some thing here. Thanks, --Gurfan -- View this message in context: http://lucene.472066.n3.nabble.com/Delete-field-in-Solr-tp4131003p4131751.html Sent from the Solr - User mailing list archive at Nabble.com.