Adding Search to Ghost

I was writing a post the other day and wanted to reference a previous post, but I couldn't remember which one it was in. Unfortunately, search is not something that comes as a default with Ghost. What can I say, there's things I do and don't like about it...

I had a quick look at their documentation and it ran through adding a third party service for the search https://ghost.org/tutorials/adding-search-to-a-ghost-theme/ (Site Search 360). Another service that I'd have to pay for if I didn't want any branding - well, that's just not going to happen.

Now I need to go away and have a think about how I want to do this. I did recall Elastic.co offering something like this, saw their pricing and noped the hell out of there. While I suppose I could go down the route of spinning up an Elasticsearch instance and showing the results on a custom page, I can't be bothered - that sounds like a seriously over engineered solution to a problem that really isn't that important.

My temporary solution is going to be making more use of Ghost's internal post tagging system: https://ghost.org/docs/concepts/tags/#internal-tag

While this doesn't solve my initial problem of not knowing what post the content I was looking for was in, it will assist in future referencing.

Show Comments