feat(search): let client specify doc types

SD-1057
Yes, but that was not the point.