You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a complex feature for me, since Firestore doesn't support full text search, I would have to use something like Elastic Search or Redis. I want to publish this project with minimal or 0 cost (I might put this in README). I thought about using redis for a cached version of the database.
My idea now for mid-term solution is to save a timestamp for last modification in Firestore and build a simple server that loads all docs and check that timestamp every 2 minutes or so and update the cache. The reason for not using a cloud function to trigger that cache update is that cloud functions doesn't reach external network on firebase's free plan.
That payload would be indexed with lunr.js. Then my app could request this server and get a list for the autocompletion in the search box.
For a short-term, I will load all tags and make the autocompletion for tags only, in the client.
The text was updated successfully, but these errors were encountered:
This is a complex feature for me, since Firestore doesn't support full text search, I would have to use something like Elastic Search or Redis. I want to publish this project with minimal or 0 cost (I might put this in README). I thought about using redis for a cached version of the database.
My idea now for mid-term solution is to save a timestamp for last modification in Firestore and build a simple server that loads all docs and check that timestamp every 2 minutes or so and update the cache. The reason for not using a cloud function to trigger that cache update is that cloud functions doesn't reach external network on firebase's free plan.
That payload would be indexed with lunr.js. Then my app could request this server and get a list for the autocompletion in the search box.
For a short-term, I will load all tags and make the autocompletion for tags only, in the client.
The text was updated successfully, but these errors were encountered: