Implement search.maxhits