We are implementing a search engine for our main site using Swiftype. Out of the box indexing of our discourse site includes page navigation in the search description which is not desirable. (see here).
Swiftype offers two ways to customize the search description.
- Content Exclusion/Inclusion: add attribute to markdown to designate what should be excluded/included in search index (eg:
- Meta tags: add custom meta tags to indicate what should be included in search index (eg:
<meta class="swiftype" name="body" data-type="text" content="this is the body content" />)
I’m not finding a way to do this without directly modifying files and it’s pretty clear to me that would break once we updated Discourse.
Would really welcome ideas on the best approach to resolving this.