How to Configure Solr to pick my lucene custom filter
Hi , I have written a lucene custom filter. I could not figure out on how to configure Solr to pick this custom filter for search. How to configure Solr to pick my custom filter? Will the Solr standard search handler pick this custom filter? Thanks, Valiveti -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-Configure-Solr-to-pick-my-lucene-custom-filter-tp2331928p2331928.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to Configure Solr to pick my lucene custom filter
Hi Eric, Thanks for the reply. I Did see some entries in the solrconfig.xml for adding custom reposneHandlers, queryParsers and queryResponseWriters. Bit could not find the one for adding the custom filter. Could you point to the exact location or syntax to be used. Thanks, Valiveti -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-Configure-Solr-to-pick-my-lucene-custom-filter-tp2331928p2334120.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to Configure Solr to pick my lucene custom filter
I am new to using Solr and lucene. I wrote a custom filter. The logic is build based on a multi field value of the document found. Only the documents that the user has read access should be returned back. I would like this custom filter to be used during search and filter out the documnets. Is there a way that this filter can be configured to the default search handlers to be picked during search? I havent written any analyzers or tokenfilters. Are they needed for this scenario? Thanks, Valiveti -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-Configure-Solr-to-pick-my-lucene-custom-filter-tp2331928p2354772.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to Configure Solr to pick my lucene custom filter
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: -Group(X) +Group(Y) [Condition]+Group(Z) . 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.