Support specifying multiple doc types. Badly need more search test cover...

...age.