first parameter of search() is now an options-type object, for #1