Does anyone know how to perform a
like query (like we do in SQL) in Ghost Content API?
I’ve gone through the official documentation but could not find a way to facilitate a search functionality through the content API.
Any idea on this would be appreciated…
@truekasun there is no way to do that with the Content API.
If you want to allow users to search then can be done through a dedicated search service like Algolia and Google Custom Search, or via client-side approaches like Ghosthunter. There are more ideas in the related Ideas topic:
Currently Ghost doesn’t have a search functionality, and search functionality is expected out of the box from most of the users. At least the ones I encounter. I use the
GhostHunter plugin for my projects but it is not ideal as it only supports English.
Any ideas and solutions are welcome.
@Kevin, I just want to implement the search function on my Android app. So Ghosthunter will not be a solution. Probably I will be able to do something with Algolia or even better with ElasticSeach.
Thanks for the quick reply.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.