mirror of https://github.com/apache/lucene.git
SOLR-299: python client will be replaced, but fix a buglet in the interim
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
50adbdbc2f
commit
d38a98d85a
|
@ -121,7 +121,7 @@ class SolrConnection:
|
|||
return self.encoder(key)[0] #to utf8
|
||||
|
||||
def delete(self, id):
|
||||
xstr = '<delete><id>'+self.escapeVal(`id`)+'</id></delete>'
|
||||
xstr = '<delete><id>'+self.escapeVal(unicode(id))+'</id></delete>'
|
||||
return self.doUpdateXML(xstr)
|
||||
|
||||
def deleteByQyery(self, query):
|
||||
|
|
Loading…
Reference in New Issue