update documentation of paramaters for search

Updated param for max_num. Took me forever to figure out what was going on, figure I would save someone else sometime.