This docstring is bereft of some important details like that if you call `.search_type()` multiple times, only the last one counts. Also what are valid values of `search_type`? Probably good to link to the list.