Pointers to filter search results based on user role/group in AEM 6.0 with Solr ? | Community
Skip to main content
Level 2
October 16, 2015
Solved

Pointers to filter search results based on user role/group in AEM 6.0 with Solr ?

  • October 16, 2015
  • 2 replies
  • 802 views

Hi ,

I have integrated solr with AEM .I looking to  filter search results based on user role/group. Any pointers would help.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Just set the acl & automatically it will filtered. because indexing happens at repository level [1], ACLs are handled by the Oak query engine.  When you execute a query Oak query engine is called & automatically applies the permission.

2 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Just set the acl & automatically it will filtered. because indexing happens at repository level [1], ACLs are handled by the Oak query engine.  When you execute a query Oak query engine is called & automatically applies the permission.

Level 2
October 16, 2015

Hi Sham ,

Thanks for the reply. I have integrated with external Solr server and written a java class to directly search on external Solr server.

One more question i have , As per my understanding internal indexing process for embedded Solr server implements Observer to track JCR events and Observer is not cluster/topology aware  so if i have N nodes in my cluster same event will create N threads to index the data, is my understanding correct ?