- changed status to open
Frequesy problem
Issue #168
resolved
Every time I try to use the spellings get such a problem: {{{
!python
cannot import name Frequency }}}
{{{
!python
whoosh/spelling.py in _schema line 385 from whoosh.fields import Schema, FieldType, Frequency, ID, STORED }}}
But file fields.py hasn't class Frequency
Comments (2)
-
-
- changed status to resolved
Fixed bug in obsolete spelling system, caused when fields stopped importing * from formats. Fixes issue
#168. - Log in to comment
Oops, sorry about that. I should have kept the unit tests for the old spelling system :( If you want to modify your copy of the Whoosh source, the fix is to change that line to:
Otherwise I'll make a new release soon that will have this fix.
Thanks!