Update documentation to include search parameter

Update the documentation to add the search parameter, which was missing.

This should not be buried in the source code, since this is a really useful function.
Merge pull request #2771 from FnTm/gh-pages

Update documentation to include search parameter