Rename search param to avoid conflict with main search.
Some tests here depend on the xapian index.

Make sure tests set this up.