I've tracked down the problem.
In search/tcl/search-procs.tcl there is a proc called search::action that has been commented out. It is called in two places, and only one was commented out. The second was not commented out and was still calling search::action.
I commented out the second call to search::action and content on the site started to be indexed again. Should I submit this as a patch?