feat(search): let client specify doc types

SD-1057
i see what you mean but at the end it returns docs