On 12-Jul-07, at 6:33 AM, vanderkerkoff wrote:
I/my boss and me worked it out.
The delete funtion in solr.py looks like this
def delete(self, id):
xstr = ''+self.escapeVal(`id`)+''
return self.doUpdateXML(xstr)
As we're not passing an integer it get's all c*nty booby, technical
term
s in there at all if you can't
send it non integer values.
Maybe someone can enlighten us.
--
View this message in context:
http://www.nabble.com/Deleting-from-index-via-web-tf4066903.html#a11560068
Sent from the Solr - User mailing list archive at Nabble.com.
actly
--
View this message in context:
http://www.nabble.com/Deleting-from-index-via-web-tf4066903.html#a11559119
Sent from the Solr - User mailing list archive at Nabble.com.
like this
delidstring = "news:%s"; % self.id
c.delete(id=delidstring)
c.commit(optimize=True)
still no joy
--
View this message in context:
http://www.nabble.com/Deleting-from-index-via-web-tf4066903.html#a11559113
Sent from the Solr - User mailing list archive at Nabble.com.
jetty.
I'm wondering if I can use URL's as ID's now.
--
View this message in context:
http://www.nabble.com/Deleting-from-index-via-web-tf4066903.html#a11558048
Sent from the Solr - User mailing list archive at Nabble.com.
url?
Something like
from solr import SolrConnection
c = SolrConnection(host='localhost:8983', persistent=False)
c.delete(* where id=e_url)
c.commit(optimize=True)
Any help as always is greatly appreciated.
--
View this message in context:
http://www.nabble.com/Deleting-from-ind