Searching with Ghost Content API


#1

Hi,

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… :slight_smile:


#2

@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:


#3

@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. :slight_smile: