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.