Mercurial > public > sg101
view requirements_dev.txt @ 943:cf9918328c64
Haystack tweaks for Django 1.7.7.
I had to upgrade to Haystack 2.3.1 to get it to work with Django
1.7.7. I also had to update the Xapian backend. But I ran into
problems.
On my laptop anyway (Ubuntu 14.0.4), xapian gets mad when search terms
are greater than 245 chars (or something) when indexing. So I created
a custom field that would simply omit terms greater than 64 chars and
used this field everywhere I previously used a CharField.
Secondly, the custom search form was broken now. Something changed in
the Xapian backend and exact searches stopped working. Fortunately the
auto_query (which I was using originally and broke during an upgrade)
started working again. So I cut the search form back over to doing an
auto_query. I kept the form the same (3 fields) because I didn't want
to change the form and I think it's better that way.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 13 May 2015 20:25:07 -0500 |
parents | e8b170fca581 |
children | 49646a78e965 |
line wrap: on
line source
Django==1.7.7 Markdown==2.5.1 MySQL-python==1.2.5 django-debug-toolbar==1.3.0 -e git+https://github.com/gremmie/django-elsewhere.git@1203bd331aba4c5d4e702cc4e64d807310f2b591#egg=django_elsewhere-master django-haystack==2.1.0 django-tagging==0.3.1 html5lib==0.999 bleach==1.4 pytz==2013b0 queued-search==2.1.0 -e hg+https://bgneal@bitbucket.org/bgneal/queues@862e8846f7e5f5a0df7f08bfe4b4e5283acb4614#egg=queues-dev redis==2.7.2 repoze.timeago==0.5 -e git+https://github.com/notanumber/xapian-haystack.git@37add92bc43fe50bf165e91f370269c26272f1eb#egg=xapian_haystack-dev anyjson==0.3.3 celery==3.1.7 django-picklefield==0.3.1 kombu==3.0.8 python-dateutil==1.5 python-memcached==1.48 docutils==0.10 amqp==1.3.3 Fabric==1.4.1 six==1.8.0 pycrypto==2.5 ssh==1.7.13 ftfy==2.0.1 Pillow==2.7.0 boto==2.13.0 sqlparse==0.1.14 billiard==3.3.0.13 google-api-python-client==1.3.1 httplib2==0.9 oauth2client==1.4.1 pyasn1==0.1.7 pyasn1-modules==0.0.5 rsa==3.1.4 simplejson==3.6.5 uritemplate==0.6 mock==1.0.1 lxml==3.4.2 testfixtures==4.1.2 # # These packages I punted on and hacked into my virtualenv by # symlinking to the global site-packages: # xapian