Skip to content

alexdong/pysolr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

======
pysolr
======

``pysolr`` is a lightweight Python wrapper for Apache Solr. It provides an
interface that queries the server and returns results based on the query.


Features
========

* Basic operations such as selecting, updating & deleting.
* Index optimization.
* "More Like This" support (if setup in Solr).
* Spelling correction (if setup in Solr).
* Timeout support.
* Index binary documents using Tika (if setup in Solr).


Requirements
============

* Python 2.4+ (tested under Python 2.6+)
* **Optional** - ``lxml`` (Python 2.4.X and below)
* **Optional** - ``simplejson`` (Python 2.4.X and below)
* **Optional** - ``httplib2`` for timeout support
* **Optional** - ``BeautifulSoup`` for Tomcat error support


Installation
============

``sudo python setup.py install`` or drop the ``pysolr.py`` file anywhere on your
PYTHONPATH.


Documentation
=============
A pretty comprehensive doctest has been provided in ``pysolr.py`` file. It should work without any changes to the default Solr 1.4 package. 


LICENSE
=======

``pysolr`` is licensed under the New BSD license.

About

Pysolr 2.0.13. The official source.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%