Re: Restricting results based on user authentication

2009-01-12 Thread Chris Harris
On Mon, Jan 12, 2009 at 9:31 PM, Manupriya wrote: > > Thanks Chris, > > I agree with your approach. I also dont want to add anything at the > application level. I want authentication to be handled internally at the > Solr level itself. The application layer needs to be involved somehow, right, be

Re: Restricting results based on user authentication

2009-01-12 Thread Manupriya
Thanks Chris, I agree with your approach. I also dont want to add anything at the application level. I want authentication to be handled internally at the Solr level itself. Can you please explain me little more about how to add a "role" field to each object at indexing time? Is there any resou

Re: Restricting results based on user authentication

2009-01-12 Thread Chris Harris
Hi Manu, I haven't made a custom request handler in a while, but I want to clarify that, if you trust your application code, you don't actually need a custom request handler to do this sort of authentication filtering. At indexing time, you can add a "role" field to each object that you index, as