Add yet another parameter -- maxrecs -- to newSearch() and triggerSearch()