Commit d398b7ba authored by Tim Peters's avatar Tim Peters

Added get_words() to the interface.

parent 50f60da8
...@@ -22,6 +22,9 @@ class IIndex(Interface.Base): ...@@ -22,6 +22,9 @@ class IIndex(Interface.Base):
def length(): def length():
"""Return the number of documents in the index.""" """Return the number of documents in the index."""
def get_words(docid):
"""Return a list of wordids for the given docid."""
def search(term): def search(term):
"""Execute a search on a single term given as a string. """Execute a search on a single term given as a string.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment