Commit 7d79b5a5 authored by Tim Peters's avatar Tim Peters

Documented that .search() has changed.

parent 2af0a364
......@@ -25,7 +25,9 @@ class IIndex(Interface.Base):
def search(term):
"""Execute a search on a single term given as a string.
Return an IIBucket.
Return an IIBucket 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).
"""
def search_phrase(phrase):
......
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