Searching an external site possible?

If you want to integrate the results into Discourse’s search itself, I think you can still use algolia, but that solution requires a lot of effort(e.g. how does one prioritise which results from which sites are shown, and is the right metadata easily available and always up to date?) and is an additional cost(algolia licensing).

A free, low maintenance and effort option, which directs users to external content is the Advanced search bar extension which we commissioned Discourse to extend a few years ago. Basically if the external site is using standard url queries for their search, it is compatible with this option.

By this i mean, do their search urls look like this?

https://meta.discourse.org/search?q=this%20is%20my%20search%20term

If yes, then this component will work.

There’s a post here where I show how it works:

and a post here where I document a bit more about how to set it up:

If you give this a go and have any questions I’m happy to answer them here :slight_smile:

2 Likes