Any idea would be appropriate.
On Tue, Jun 17, 2014 at 5:44 PM, Ali Nazemian <alinazem...@gmail.com> wrote: > Dear Alexandre, > Yeah I saw that, but what is the best way of doing that from the > performance point of view? > I think of one solution myself: > Suppose we have a RDBMS for users that contains the category and group for > each user. (It could be in hierarchical format) Suppose there is a field > name "security" in solr index that contains the list of each group or > category that is applied to each document. So the query would be filter > only documents that its category or group match the specific one for that > user. > Is this solution works in distributed way? What if we concern about > performance? > Also I was wondering how lucidworks do that? > Best regards. > > > On Tue, Jun 17, 2014 at 4:08 PM, Alexandre Rafalovitch <arafa...@gmail.com > > wrote: > >> Have you looked at Post Filters? I think this was one of the use cases. >> >> An old article: >> http://java.dzone.com/articles/custom-security-filtering-solr . Google >> search should bring a couple more. >> >> Regards, >> Alex. >> Personal website: http://www.outerthoughts.com/ >> Current project: http://www.solr-start.com/ - Accelerating your Solr >> proficiency >> >> >> On Tue, Jun 17, 2014 at 6:24 PM, Ali Nazemian <alinazem...@gmail.com> >> wrote: >> > Dears, >> > Hi, >> > I am going to apply customer security filtering for each document per >> each >> > user. (using custom profile for each user). I was thinking of adding >> user >> > fields to index and using solr join for filtering. But It seems for >> > distributed solr this is not a solution. Could you please tell me what >> the >> > solution would be in this case? >> > Best regards. >> > >> > -- >> > A.Nazemian >> > > > > -- > A.Nazemian > -- A.Nazemian