I’m not sure about posts appearing as search results but there is a plugin
It will help you with creating tickets through discourse topics.