Hulp nodig bij het begrijpen van hoe discourse search werkt

AI-generated summary

Ranjan asks about how Discourse implements its internal search functionality, specifically how content is prioritized and which elements (such as topic titles, keywords, and tags) influence search results. simon initially interprets the question as being about Google search indexing, referencing a guide on SEO with Discourse. neounix clarifies that Ranjan is likely asking about Discourse’s internal search algorithm, suggesting the SearchController in the open-source code as a resource for understanding how search works within the platform.

Hi Team,

Wanted to know bit about how content gets priority in search.

So generally, the understanding is a Blog article gets searched via multiple keyword- tags related to the post.

E.g.
It can be keywords within the :
Question of the post , Topic title, Keywords within answer, Category tags for the question etc.

If my understanding is not complete…correct me.

Since our community is on Discourse platform, how does discourse implement search?
Are there different Discourse tags? different from tags that google uses to capture information?

What tags(Question of the post , Topic title, Keywords within answer, Category tags for the question ) would bring best search results for our community posts?

Please share your thoughts.

Thanks.

Are you asking what Discourse does to allow the site to be searched by Google? If so, the best answer that I know of is in this post: Beginners guide to SEO with Discourse - #2 by Falco. There are additional details in the other posts in that topic.

One thing to note is that topic mentions the Discourse Sitemap plugin. As far as I know, search engines have no trouble indexing a Discourse site even when it doesn’t have a sitemap. The main thing to work on is creating quality content on your site that people want to read.

I think @Ranjan is asking how Discourse implements search in the Discourse application and is not asking about Google search.

He seems interested to understand how Discourse implements their internal search algorithm, and a good place to start is here in class SearchController:

Hey @Ranjan … you would be amazed at how much information can be found in the Discourse open source code on GitHub!