forked from django-haystack/pysolr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
45 lines (30 loc) · 1.06 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
======
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.