4 ms·
Personally, I'd use meilisearch in your case (though, obv, I know next to nothing about all the requirements and details of your case). Stuffing everything in
by berkes 3y ago
Personally, I'd use meilisearch in your case (though, obv, I know next to nothing about all the requirements and details of your case).
Stuffing everything in PG makes sense, because PG is Good Enough in most situations that one throws at it, but hardly "very good". It's just "the best" because it is already there¹. PG truly is "very good", maybe even "the best" at relational data. But all other cases: there are better alternatives out there.
Meilisearch is small. It's not embeddable (last time I looked) so It does run as separate service; but does so with minimal effort and overhead. And aside from being blazingly fast in searching (often faster than elasticsearch; definitely much easier and lighter), it has stellar vector storage.
¹ I wrote e.g. github.com/berkes/postgres_key_value a Ruby (so, slow) hashtable-alike interface that uses existing Postgres tech for a situation where Redis and Memcached would've been a much better candidate, but where we already had Postgres, and with this library, could postpone the introduction, complexity and management of a redis server.
Edit: forgot this footnote.
- ComputerGuru 3y agoMeilisearch is embeddable as of recently, but you have to do some legwork since it’s not the intended use case.
- esafak 3y agoHave you used it for hybrid search? What kind of performance do you observe?