Its not entirely trivial to do that, because it means quering the xapian database for each category on startup (something we do only on-demand now). The xapian.Enquire class supports get_mset() with maxitems=0 to get only a quick approximation of the result. That may be something useful.
Its not entirely trivial to do that, because it means quering the xapian database for each category on startup (something we do only on-demand now). The xapian.Enquire class supports get_mset() with maxitems=0 to get only a quick approximation of the result. That may be something useful.