Skip to content

Conversation

@cmacdonald
Copy link
Contributor

PyTerrier code needs to construct an indexref once indexing finishes (See for instance https://github.com/terrier-org/pyterrier/blob/master/pyterrier/terrier/index.py#L694). This seems error prone - it makes sense that the Indexer returns the IndexRef for the index index (but the index isnt loaded, except for MemoryIndex).

This PR has the index() method return an IndexRef, and uses it in some tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants