Search Priviliges


(kalpana pinnaka) #1

Hi

i have one database with 10 rows and 5 columns..Three users accessing
the same database..
i want to show lke this
for first first user show all columns
for second user show only 1,2 columns
for third user show only 3,4 columns

is this possible in elasticsearch?
Plz guide me in solving this..

Thanks in advance


(Karussell) #2

You can disable the _source and select which fields are returned:
http://www.elasticsearch.org/guide/reference/api/search/fields.html

To make it even more convenient you could create a filter alias per
user:
http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases.html

Peter.

On 2 Nov., 06:18, kalpana pinnaka saikalpan...@gmail.com wrote:

Hi

i have one database with 10 rows and 5 columns..Three users accessing
the same database..
i want to show lke this
for first first user show all columns
for second user show only 1,2 columns
for third user show only 3,4 columns

is this possible in elasticsearch?
Plz guide me in solving this..

Thanks in advance


(system) #3