You'll have to make separate index at your side for separate user.
I would suggest using a vector store as nothing stays in the memory and if there are multiple indexs for multiple user it will only add up in the memory!
I’ve done the separation, but i’m having trouble loading the indices for users separately . As when a user loads one file, the other user does too. Any suggestions? Should I put the value of index loaded into a db?