Try to handle the case where a wid has no wordinfo.
This case can arise when the last occurence of a word is removed, or when a lexicon is shared across multiple indexes. XXX Not sure this code is correct, but it might be and the tests pass. If it's wrong, we need more tests.
Showing
Please register or sign in to comment