Private Searching with Elasticsearch

Hello Elastic,

I do have question to ask on Searching where are we able to do private searching?

So from the picture, we have both private and public channel that we would like to do searching on.

The question right now is, can the application pass to elastic the userId for elastic to process the data and determine that this user can access to private channel and do searching for private post?


I'm going to explain further on my situation.

We have application that is a platform that contain like post or content, announcement etc of our company.

We already pull our data using Microsoft SQL Connector and set Advanced sync rules to get the filtered data from the db.

The data going to pull is Channel post that is public and the second one is Channel post that is private.

The first rules will not pull the userID for the public Channel post as it is public and everyone can access.

The second rules will pull the userID together to set that this is the list of users that able to access to the private Channel post.

The question is, can our front end application pass the userid and keyword to do the searching to Elastic, for it to process, if the userId available in the data, then they able to access to the private Channel and do the searching for private post?

I did get the reference on the document security level, but this is untested and I'm reaching out of time to do any testing that this going to work. The deadline is this Friday.

Need solution that is proven.


You found the right answer, Document Level Security is what you need here!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.