You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PySolr 3.10.0 running under Python 3.11.7, installed on MacOS via homebrew.
Delete was failing when IDs were numeric:
id_list = [1,2,3,4] solr.delete(id = id_list)
This was working in 3.9.0. Breaks in 3.10.0. I played around with this a bit, and noticed 3.10.0 moved from "hand-generating" the XML doc to using xml.etree.ElementTree. Pulled this from 3.10.0 and ran it as a standalone snippet:
If you send a pull-request, that'd be a good addition - I think there's a lot of convention around using strings for document IDs but integers should work.
PySolr 3.10.0 running under Python 3.11.7, installed on MacOS via homebrew.
Delete was failing when IDs were numeric:
id_list = [1,2,3,4] solr.delete(id = id_list)
This was working in 3.9.0. Breaks in 3.10.0. I played around with this a bit, and noticed 3.10.0 moved from "hand-generating" the XML doc to using xml.etree.ElementTree. Pulled this from 3.10.0 and ran it as a standalone snippet:
This results in:
If I add the following map statement, to swap int's to str's, it works:
Printing "m" here gives me:
The text was updated successfully, but these errors were encountered: