Skip to content

Feature: use other Solr library #6

@hannosch

Description

@hannosch

By now there's two well maintained Python Solr libraries out there. We should look at them and see if we can use either of them:

https://github.com/toastdriven/pysolr/
http://packages.python.org/sunburnt/

pysolr is pretty similar to the current code. It does add some more bits and adds API's for Solr Core.

sunburnt adds a powerful more natural query language, which is much better for querying Solr directly. It's similar to SQLAlchemy or jQuery.

I think the sunburnt approach is more compelling in the mid-term. The whole process of emulating the ZCatalog API's via Solr and making everything transparent is pretty painful. And it's pretty hard to make use of any of the advanced Solr features in this way. Facets kind-of work, but once you get into spelling corrections, more-like-this or other features it all gets quite painful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions