N
Nuxt4mo ago
Ubeyd

Search feature

Hi everyone, I am looking into different options for implementing a simple search functionality in my Nuxt application, please let me know if you have experience implementing one without major problems. Thanks a lot in advance. I looked a bit into these but I haven't been able make my mind up yet: 1- https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/vue/ 2- https://www.fusejs.io/ 3- https://nuxt-swiftsearch.netlify.app/ 4- https://www.meilisearch.com/docs 5- https://algolia.nuxtjs.org/ Context: My application is a dashboard, and so it is not available for public access. SSR is false. Naturally, SEO is irrelevant. I am using a Postgresql database together with Prisma ORM. I leverage PrimeVue UI components in my app for my UI needs.
Fuse.js | Fuse.js
Lightweight fuzzy-search library, in JavaScript
Nuxt Swiftsearch - Docs
Nuxt Swiftsearch
Nuxt Swiftsearch - a tailor made implementation of instantsearch for Nuxt
@nuxtjs/algolia
@nuxtjs/algolia | @nuxtjs/algolia
@nuxtjs/algolia is a Nuxt module for first class integration with Algolia.
4 Replies
Michael
Michael4mo ago
I used meiliserach before and it's very simple to implement, no issues at all for me. But if i was adding a search again I might also try https://typesense.org/ heard very good things about it
Typesense
Lightning-fast, open source search engine for everyone
Ubeyd
UbeydOP4mo ago
Hi Michael, thanks for your message. Typesense does seem to be an interesting option. Quick question, which of these methods below do you think I should be going for when syncing my data into Typesense? https://typesense.org/docs/guide/syncing-data-into-typesense.html Thank you so much.
Typesense Documentation
Documentation for Typesense Search
Michael
Michael4mo ago
I haven't used typesense yet, I wanted to try it next time I need to implement a search but I think this depends on your use case, when you use Prisma you could try Prisma Pulse sounds good, otherwise polling the database every 30sec also sounds reasonable as long as you dont need the data to be available instantly
Ubeyd
UbeydOP4mo ago
Thanks a lot, that is helpful.
Want results from more Discord servers?
Add your server