manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lalit jangra <lalit.j.jan...@gmail.com>
Subject How to query for content with ACLs?
Date Thu, 12 Jun 2014 13:27:56 GMT
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.

Mime
View raw message