Hi, I am using DIH feature of Solr for indexing a database. I am using Solr server and it is independent of my web application. I send a http request for searching and then process the returned result.
Now we have a requirement that we have to filter the results further based on security level restrictions? For example, user id abc should not be allowed to see a particular result. How could we achieve that? I followed,http://www.nabble.com/Restricted-views-of-an-index-td15088750.html#a15090791 It suggests something like - "Add a role or access class to each indexed item, then use that in the queries, probably in a filter specified in a request handler. That keeps the definition of the filter within Solr. For example, you can create a request handler named "admin", a field named "role", and add a filter of "role:admin". " I could not follow this solution. Is there any example or resource that explains how to use custom request handler with filtering? Thanks, Manu -- View this message in context: http://www.nabble.com/Restricting-results-based-on-user-authentication-tp21411449p21411449.html Sent from the Solr - User mailing list archive at Nabble.com.