Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Added get_words() to the interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Peters committed May 17, 2002
1 parent bce86b1 commit a5bf07e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions IIndex.py
Expand Up @@ -22,6 +22,9 @@ class IIndex(Interface.Base):
def length():
"""Return the number of documents in the index."""

def get_words(docid):
"""Return a list of wordids for the given docid."""

def search(term):
"""Execute a search on a single term given as a string.
Expand Down

0 comments on commit a5bf07e

Please sign in to comment.