Re: Separate ACL and document index

2011-11-25 Thread Erick Erickson
There's another approach that *may* help, see: https://issues.apache.org/jira/browse/SOLR-2429 This is probably suitable if you don't have a zillion results to sort through. The idea here is that you can specify a filter query that only executes after all the other parts of a query are done, i.e.

Re: Separate ACL and document index

2011-11-23 Thread Floyd Wu
Thank you for your sharing, My current solution is similar to 2). But my problem is ACL is early-binding (which means I build index and embedded ACL with document index) I don't want to rebuild full index(a lucene/solr Document with PDF content and ACL) when front end change only permission setting

Re: Separate ACL and document index

2011-11-23 Thread Robert Stewart
I have used two different ways: 1) Store mapping from users to documents in some external database such as MySQL. At search time, lookup mapping for user to some unique doc ID or some group ID, and then build query or doc set which you can cache in SOLR process for some period. Then use that as

Re: Separate ACL and document index

2011-11-23 Thread Floyd Wu
I've been read much about Document Level Security https://issues.apache.org/jira/browse/SOLR-1895 https://issues.apache.org/jira/browse/SOLR-1872 https://issues.apache.org/jira/browse/SOLR-1834 But I not fully sure that these patch solved my problem? It seems to that change the original document A

Separate ACL and document index

2011-11-22 Thread Floyd Wu
Hi there, Is it possible to separate ACL index and document index and achieve to search by user role in SOLR? Currently my implementation is to index ACL with document, but the document itself change frequently. I have to perform rebuild index every time when ACL change. It's heavy for whole syst