We thought of using "fq". But that seems not to suit our scenario.
Both denial and Grant access permissions are stored on the documnet as rules. The order of the rules also need to be considered. We might have a huge list of values for the ACL field. Each value is considered to be a rule. Sample: <doc> <field name="ACL">-Group(X)</field> <field name="ACL">+Group(Y)</field> <field name="ACL">[Condition]+Group(Z)</field> ......... </doc> The documnet access should be denied for the users who belong to Grop X . User who belong to Group Y should be provided access. If a user who belongs to group Z gets this document during the search since the first two rules does not match it proceeds to the third rule. Where the condition will be evaluated based on certain inputs provided to the filter and if that condition is met then the user will be granted access. This is just an example. We have many more different rules defined. So thought of having a filter that can get hold of this rules and process. Note: The rules are not same for all documents. Thanks, Valiveti -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-Configure-Solr-to-pick-my-lucene-custom-filter-tp2331928p2357828.html Sent from the Solr - User mailing list archive at Nabble.com.