On 4/15/07, Jack L <[EMAIL PROTECTED]> wrote:
Doing queries is so easy with Python, thanks to solr's
Python format support. Is there any Python utility classes for
posting documents? Which I think, is essentially a Python
class to generate XML documents (before JSON support is available)
from Python objects. Then again, JSON for posting would be
really nice to have :)

It is not documented very well, but you can pass in a multi-map to the
solr.py client:

.add(field_one=['one', 'two', 'three'], field_two='value', ...)

-Mike

Reply via email to