1. Matt Chaput
  2. whoosh
  3. Issues
Issue #330 resolved

'NoneType' object is not iterable in FacetCollector

Matteo Parrucci
created an issue

keys_for() returns None for empty list of facets

It's a problem because FacetCollector.collect tries to do:

for key in categorizer.keys_for(matcher, sub_docnum)

and having None instead of [] breaks the search

Comments (3)

  1. Log in to comment