Multi-user website #768
Unanswered
sensiblearts
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just discovered
orama
, and I'm wondering:What might the runtime architecture look like for a multi-user website, where each user can only search their own data?
For example, using
import { persistToFile } from "@orama/plugin-data-persistence/server";
I could imagine a separate file for each user, and then usingimport { restoreFromFile } from "@orama/plugin-data-persistence/server";
on-demand whenever a user navigates to the search view.Or, I could see one (huge) file for all users, where every indexed document has a
user_id
field that every query must include.My intuition says to try (1) first.
Am I on the right track for understanding this tool?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions