support whoosh-2.5.3 & django-1.5