Hacker News new | ask | show | jobs
by gregpardo 3292 days ago
This is great for something like a public website. What about a situation where I want some of my users to only be authorized to view some of my data based on a set of rules I set in my backend application. Can Agolia accomplish this?

EDIT: Looks like they do support this.. https://www.algolia.com/doc/api-client/ruby/api-keys/#genera...

However, I think for a small project it will probably be extra work to keep these keys synchronized vs just doing a postgres search for my project

2 comments

You could just as easily set up Solr/Elasticsearch locally and index your data for searching. It'll give you the advantage of being able to do more complex queries, faceting, grouping, stemming, synonyms, and things that you expect from a modern search experience.
All of that is out of the box with Algolia FYI :)
Absolutely, I was saying the features were modern compared to PostGres search :)