You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jack L <jl...@yahoo.ca> on 2007/04/16 07:02:48 UTC

Re[2]: Python utilities for solr?

Mike and Erik, thanks for the reply. Excellent. I'll try it out.

> On 4/15/07, Jack L <jl...@yahoo.ca> 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