Commit bed1daed authored by Tim Peters's avatar Tim Peters

More docstring corrections.

parent 7d79b5a5
......@@ -25,7 +25,7 @@ class IIndex(Interface.Base):
def search(term):
"""Execute a search on a single term given as a string.
Return an IIBucket mapping docid to score, or None if all docs
Return an IIBTree mapping docid to score, or None if all docs
match due to the lexicon returning no wids for the term (e.g.,
if the term is entirely composed of stopwords).
"""
......@@ -33,7 +33,7 @@ class IIndex(Interface.Base):
def search_phrase(phrase):
"""Execute a search on a phrase given as a string.
Return an IIBucket.
Return an IIBtree mapping docid to score.
"""
def search_glob(pattern):
......@@ -45,7 +45,7 @@ class IIndex(Interface.Base):
NOTE: Currently only a single trailing * is supported.
Return an IIBucket.
Return an IIBTree mapping docid to score.
"""
def query_weight(terms):
......
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