Integrating searchbar

Hi,
Does anyone know, if it’s possible to implement searchbar with autocompletion for Ghost blog? I would like to make searchbar allowing user to search blog posts by their title and display max of 5 records as options to choose.
I tried through content-api, but it seems that there is no possibility to make queries working similar to SQL’s „LIKE %value%” statement.

I use Ghost Search with Dashi, and I belive this does what you want. You can see it here: https://thelazyleader.co.

Thanks! I’ve checked it, however it didn’t work in my case, as I am using Nuxt and I couldn’t import it as a module.
I found another solution: fuse.js, and it worked for me. :slight_smile:

1 Like