1. Matt Chaput
  2. whoosh
Issue #15 wontfix

exception in positings.py

jdubery
created an issue

Hi, just had the following exception generated in whoosh code (whoosh 0.3.18) ...

{{{ File "c:\python25\lib\site-packages\whoosh\searching.py", line 266, in search scored_list = sorter.order(self, query.docs(self), reverse=reverse) File "C:\Python25\lib\site-packages\whoosh\query.py", line 184, in docs return self.scorer(searcher).all_ids() File "C:\Python25\lib\site-packages\whoosh\query.py", line 665, in scorer return InverseScorer(scorer, reader.doc_count_all(), reader.is_deleted) File "C:\Python25\lib\site-packages\whoosh\postings.py", line 871, in init self._find_next() File "C:\Python25\lib\site-packages\whoosh\postings.py", line 879, in _find_next while self.id == self.scorer.id and not self.is_deleted(self.id): TypeError: is_deleted() takes exactly 1 argument (2 given) }}}

... looks like a whoosh typo John

Comments (2)

  1. Matt Chaput repo owner

    This issue report fell through the cracks. I assume this was fixed at some point anyway, but Whoosh 1.x is available now so I'm just going mark this "wontfix" because the code with this error has been replaced.

  2. Log in to comment