Re: Delete field in Solr

2014-04-17 Thread Gurfan
*Sorry, missed to add Filed entry from schema.xml * Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Delete-field-in-Solr-tp4131003p4131769.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Delete field in Solr

2014-04-17 Thread Gurfan
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","SFiel

Re: Delete field in Solr

2014-04-14 Thread Chris Hostetter
: we tried another commands to delete the document ID: : : 1> For Deletion: : : curl http://localhost:8983/solr/update -H 'Content-type:application/json' -d : ' : [ You're use of square brackets here is triggering the syntax-sugar that let's you add documents as objects w/o needing the "add" k

Re: Delete field in Solr

2014-04-14 Thread Shawn Heisey
On 4/14/2014 7:43 AM, Shawn Heisey wrote: > When results are being determined for the response, it sounds like the > schema is NOT consulted -- I think the code simply reads what's in the > Lucene index and applies the "fl" parameter to decide which fields are > returned. The index doesn't change w

Re: Delete field in Solr

2014-04-14 Thread Shawn Heisey
On 4/14/2014 5:50 AM, Gurfan wrote: > We have a setup of SolrCloud 4.6. The fields Stored value is true. > Now I want to delete a field from indexed document. Is there any way from > which we can delete the field?? > Field which we are trying to delete(extracted from schema.xml): > > omitNorms="