@@ -20,12 +20,12 @@ Haystack requires Solr 1.3+. Installation is relatively simple::
2020 java -jar start.jar
2121
2222You'll need to revise your schema. You can generate this from your application
23- (once Haystack is installed and setup) by running
23+ (once Haystack is installed and setup) by running
2424``./manage.py build_solr_schema ``. Take the output from that command and place
2525it in ``apache-solr-1.4.1/example/solr/conf/schema.xml ``. Then restart Solr.
2626
2727You'll also need a Solr binding, ``pysolr ``. The official ``pysolr `` package,
28- distributed via PyPI, is the best version to use (2.0.13 +). Place ``pysolr.py ``
28+ distributed via PyPI, is the best version to use (2.1.0 +). Place ``pysolr.py ``
2929somewhere on your ``PYTHONPATH ``.
3030
3131.. note ::
@@ -60,7 +60,7 @@ Something like the following is suggested::
6060 text = indexes.CharField(document=True, use_template=True)
6161 # ... normal fields then...
6262 suggestions = indexes.CharField()
63-
63+
6464 def prepare(self, obj):
6565 prepared_data = super(NoteIndex, self).prepare(object)
6666 prepared_data['suggestions'] = prepared_data['text']
@@ -128,15 +128,15 @@ package for it). Installation looks like::
128128
129129 curl -O http://oligarchy.co.uk/xapian/1.0.11/xapian-core-1.0.11.tar.gz
130130 curl -O http://oligarchy.co.uk/xapian/1.0.11/xapian-bindings-1.0.11.tar.gz
131-
131+
132132 tar xvzf xapian-core-1.0.11.tar.gz
133133 tar xvzf xapian-bindings-1.0.11.tar.gz
134-
134+
135135 cd xapian-core-1.0.11
136136 ./configure
137137 make
138138 sudo make install
139-
139+
140140 cd ..
141141 cd xapian-bindings-1.0.11
142142 ./configure
@@ -149,4 +149,4 @@ proper due to licensing. To use it, you need both Haystack itself as well as
149149http://github.com/notanumber/xapian-haystack/tree/master. Installation
150150instructions can be found on that page as well. The backend, written
151151by David Sauve (notanumber), fully implements the `SearchQuerySet ` API and is
152- an excellent alternative to Solr.
152+ an excellent alternative to Solr.
0 commit comments