If a wordinfo of an index contains more than 10 entries it is switched from dict to BTree.
This is not tested in the context of OkapiIndex._search_wids:
in Python 3.8+ it shows: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python. score(result, items, docid2len, idf, meandoclen)
If a wordinfo of an index contains more than 10 entries it is switched from dict to BTree.
This is not tested in the context of
OkapiIndex._search_wids
:DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python. score(result, items, docid2len, idf, meandoclen)