Re: Document security filtering in distributed solr (with multi shard)

2014-06-18 Thread Alexandre Rafalovitch
The performance you should usually test yourself. Especially, since you probably want some sort of cashing. But post-filters were specifically designed to be used for expensive operations (and you can order them too to apply in sequence). They should also work distributed, though each shard will n

Re: Document security filtering in distributed solr (with multi shard)

2014-06-18 Thread Ali Nazemian
Any idea would be appropriate. On Tue, Jun 17, 2014 at 5:44 PM, Ali Nazemian 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

Re: Document security filtering in distributed solr (with multi shard)

2014-06-17 Thread Ali Nazemian
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 "secur

Re: Document security filtering in distributed solr (with multi shard)

2014-06-17 Thread Alexandre Rafalovitch
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-star

Document security filtering in distributed solr (with multi shard)

2014-06-17 Thread Ali Nazemian
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