# Integrating searchbar

**URL:** <https://forum.ghost.org/t/integrating-searchbar/30472>\
**Category:** Integrations & API\
**Created:** [May 30, 2022, 1:54pm UTC](https://forum.ghost.org/t/integrating-searchbar/30472 "2022-05-30T13:54:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![veriwell13x](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/veriwell13x/32/17909_2.png) [@veriwell13x](https://forum.ghost.org/u/veriwell13x)\
**Post date:** [May 30, 2022, 1:54pm UTC](https://forum.ghost.org/t/integrating-searchbar/30472/1 "2022-05-30T13:54:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [May 30, 2022, 4:09pm UTC](https://forum.ghost.org/t/integrating-searchbar/30472/2 "2022-05-30T16:09:35Z")

</div>

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

> **[ghost-search](https://www.npmjs.com/package/ghost-search)**
>
> A simple but powerful search library for Ghost Blogging Platform.. Latest version: 1.1.0, last published: 3 years ago. Start using ghost-search in your project by running \`npm i ghost-search\`. There are no other projects in the npm registry using...

> **[Official Ghost + Custom Integrations Integration](https://ghost.org/integrations/custom-integrations/)**
>
> How to create custom API and webhook based integrations for the Ghost publishing platform, full developer documentation and guide.

---

<div class="post-metadata">

**Author:** ![veriwell13x](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/veriwell13x/32/17909_2.png) [@veriwell13x](https://forum.ghost.org/u/veriwell13x)\
**Post date:** [May 31, 2022, 7:32pm UTC](https://forum.ghost.org/t/integrating-searchbar/30472/3 "2022-05-31T19:32:59Z")

</div>

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. 🙂

---

<div class="post-metadata">

**Author:** ![Hyder\_Altaf](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hyder_altaf/32/17709_2.png) [@Hyder\_Altaf](https://forum.ghost.org/u/Hyder_Altaf)\
**Post date:** [July 1, 2022, 2:51pm UTC](https://forum.ghost.org/t/integrating-searchbar/30472/4 "2022-07-01T14:51:54Z")

</div>

Hey

Which solution did you find and implemented, please share.

Thanks
