feat(search): let client specify doc types

SD-1057