Tuesday 15 May 2012

lucene - segregating solr indexes for each end-user -


For any of our applications we want to differentiate index data for every user using the application (which is the upload The information being made using solr for the index is done). Is this possible?

Document structure for schema.xml and all indexed documents are the same. We must be separated for security reasons. Explanation: I forgot to mention that solr is available only through the web app. End user never connects directly to Solar.

If each document can be accessed only a handful of users, you can enter user IDs Allowed_user_ids , which are allowed to access the document. Then user_id to restrict access by a filter query on it.

If you have public and restricted documents, instead of storing all user_id in public documents, you set one field is_public and set it to true for public documents only For restricted documents, use the filter query on allowed_user_ids .

No comments:

Post a Comment