[ https://issues.apache.org/jira/browse/SOLR-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495393 ]
Brian Whitman commented on SOLR-216: ------------------------------------ I'm noticing that you are looking for if not data.startswith('<result status="0"'): When detecting if /update didn't like something. With the latest solr trunk, that doesn't come back anymore. It looks like: <?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader"><int name="status">0</int><int name="QTime">40</int></lst> </response> now. I'm not too used to python to fix this properly at the moment. > Improvements to solr.py > ----------------------- > > Key: SOLR-216 > URL: https://issues.apache.org/jira/browse/SOLR-216 > Project: Solr > Issue Type: Improvement > Components: clients - python > Affects Versions: 1.2 > Reporter: Jason Cater > Priority: Trivial > Attachments: solr.py > > > I've taken the original solr.py code and extended it to include higher-level > functions. > * Requires python 2.3+ > * Supports SSL (https://) schema > * Conforms (mostly) to PEP 8 -- the Python Style Guide > * Provides a high-level results object with implicit data type conversion > * Supports batching of update commands -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.