Of all of them, the only one I've found that is python 3 compatible is pysolr : 
https://github.com/django-haystack/pysolr

It has been pretty solid, actively developed, and the devs are pretty 
responsive to pull requests.

> On Aug 31, 2016, at 8:42 PM, Chris Gray <[email protected]> wrote:
> 
> I haven't done much of that but you can submit documents via the API and have 
> them indexed (and processed by Tika).  Once you understand how to do that, 
> you might find that you can do everything you want to do.
> 
> An alternative would be reading the source of one of those libraries.  In the 
> list you referenced, the only mention of inserting documents was for 
> sunburnt.  I would be inclined to look there first, especially since it 
> mentions a pythonic interface to Solr.
> 
> A good, and amusing, cautionary tale about overwritten Python libraries is at 
> https://www.youtube.com/watch?v=o9pEzgHorH0.
> 
> Chris
> 
>> On 2016-08-31 03:28 PM, Eric Lease Morgan wrote:
>> On Aug 31, 2016, at 3:25 PM, Chris Gray <[email protected]> wrote:
>> 
>>>> Okay, there are SO many Python libraries [1] for Solr, and I’d like to 
>>>> know which one is the most popular (not necessarily the “best”).
>>> What do you want to do with it?
>>> 
>>> I didn't feel the need to even look for a Python library for my needs.  I 
>>> use Python to submit searches to the Solr web API and consume the results 
>>> as JSON.
>> 
>> Good question. I want to add documents to a Solr index, and I want to query 
>> the same index. Hmmm… —Eric M.

Reply via email to