Commits

Anonymous committed 91c1142

worked on issue #137

Comments (0)

Files changed (2)

docs/source/searching.rst

 ===================
 
 To get a :class:`whoosh.searching.Searcher` object, call ``searcher()`` on your
-Index objdct::
+Index object::
 
     searcher = myindex.searcher()
 

src/whoosh/searching.py

         :param numterms: Return this number of important terms.
         :param model: The classify.ExpansionModel to use. See the classify
             module.
+        :param normalize: Whether to normalize the weights.
+        :returns: A list of ("term", weight) tuples.
         """
 
         expander = classify.Expander(self.ixreader, fieldname, model=model)