1
0
Fork 0
mirror of https://github.com/veekun/pokedex.git synced 2024-08-20 18:16:34 +00:00

Whoosh 2.5 performance quickfix

In Whoosh 2.5, fields that can be sorted on need to specify
sortable=True or else take a large performance hit because whoosh
completely dumped its old method of speeding up sorting (automatic
caching) in favor of this brand new one.

These probably don't *all* need to be sortable, but hey.

Note that we now require Whoosh>=2.5 because the sortable keyword arg
didn't exist in exist in earlier versions.
This commit is contained in:
Andrew Ekstedt 2014-03-11 18:21:08 -07:00
parent ee297aad45
commit 12368ddca8
2 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@ setup(
},
install_requires=[
'SQLAlchemy>=0.7.3',
'whoosh>=2.2.2',
'whoosh>=2.5',
'markdown',
'construct',
],