Hi,

As documented here 
https://svn.apache.org/repos/asf/manifoldcf/integration/solr-4.x/trunk/README.txt

"At a minimum, AuthenticatedUserName must be present in order" 


This is a URL parameter, just like Solr params. Here is an example.

http://localhost:8983/solr/documents/select?q=*%3A*&wt=xml&[email protected]&facet=on&facet.field=Content-Type



On Thursday, June 12, 2014 4:28 PM, lalit jangra <[email protected]> 
wrote:
 


Hi All,

As continuing from 
http://lucene.472066.n3.nabble.com/How-to-query-for-content-with-ACLs-td4141402.html
 as per Ahmet's suggestion.

I have setup mcf-solr4x-plugin in MCF 1.5.1 and i can see ACLs indexed into 
solr indexes. 

Now i want to write Solr query to put a user's permission details into in it 
which can be compared to ACL stored in solr and only those results will be 
returned to user on which he has been assigned ACL.

How can i do this?  Can i use MCF filter  below here or do i need to write 
custom query for my need?

<requestHandler name="search" class="solr.SearchHandler" default="true">
  <lst name="appends">
    <str name="fq">{!manifoldCFSecurity}</str>
  </lst>
</requestHandler>

Please help.


Regards,
Lalit Jangra. 

Reply via email to