Never use text/xml, always application/xml. wunder
On Dec 18, 2012, at 6:03 AM, Jack Krupansky wrote: > Make sure that your curl command includes: > > -H "Content-Type: text/xml" > > For example, > > curl http://localhost:8983/solr/update?commit=true -H "Content-Type: > text/xml" --data-binary ' > <delete><query>id:doc-2012-12-18</query></delete>' > > -- Jack Krupansky > > -----Original Message----- From: Dixline > Sent: Tuesday, December 18, 2012 1:03 AM > To: solr-user@lucene.apache.org > Subject: Delete by Query not working properly > > Hi, > > I've deleted a document using http://localhost:8983/solr/update?stream.body= > <delete><query>skills_s:Perl</query></delete> and the committed the delete > also. Again if search using q=perl i'm able to see the same document but if > i search using q=skills_s:Perl it is not returning any results. Can someone > explain is this how delete by query works? > > Thanks, > Dixline.M > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Delete-by-Query-not-working-properly-tp4027681.html > Sent from the Solr - User mailing list archive at Nabble.com. -- Walter Underwood wun...@wunderwood.org