Curious to know what is indexed for using the search option on a website? I have a product name that appears in the text of the a post which is not in the headline, excerpt or a tag. But searching for that using the Ghose search field on the website doesn’t render any results.
The native search in Ghost indexes post titles, excerpts, authors and tags. So, the actual content of posts is not indexed, which would explain the behavior you’re seeing.
Here’s some background on how/why it was implemented the way it was:
Thanks Jannis. This post is over 3 years old- I hope the Ghost team implements a full text search soon!
The issue with full text search is that the search index needs to live somewhere. There are a couple options for that, the most polished of which is probably Jannis’ own search package that uses typesense. GitHub - magicpages/ghost-typesense
(I like it a lot because it bundles everything together - front end search and webhooks and indexing.)
If you want to run in Algolia’s free tier instead, you could look at GitHub - TryGhost/algolia - but it doesn’t include a search app, just the back-end bits. I’ve got a heavily-modified version that includes a search app, but haven’t gotten it cleaned up enough for release yet.