def __setstate__(self, state):
self._generate_index()<EOL>
sets internal state

        Ignore the passed in state and recalculate it. This is only for
        compatibility with older pickles which did not correctly specify
        the initialization class