Hi Liam,

The maxBooleanClauses option applies only to query clauses in a
BooleanQuery.  The ManifoldCF security presented in SOLR-1895 is based
on filters exclusively, which are boolean bitmaps.  Native filters do
not adhere to the same restriction, unlike if you'd built a filter
based on a BooleanQuery.  So you should not run into a "maximum
clauses exceeded" problem using the patch.

May I ask what sort of authority you are planning on using?

Karl


On Tue, Apr 12, 2011 at 8:26 PM, Liam O'Boyle
<liam.obo...@intelligencebank.com> wrote:
> Hi,
>
> I'm looking into ways to restrict the results retrieved in Solr
> searches based on the permissions of the user doing the search.
> Currently this is achieved by the simple approach of creating a filter
> query that restricts the results to all possible matches, but I'm
> running into the boolean search term limits in Solr and so I am
> looking for a better approach.
>
> It seems like the functionality of ManifoldCF may be what I need [1],
> [2], but I'd just like to confirm that I'm not going to run into the
> same problem anyway (limits on the maximum number of boolean terms in
> a Solr query, set by the maxBooleanClauses option).  Is the ManifoldCF
> LCF plugin creating a filter query behind the scenes, or is it using
> an approach which avoids this problem?
>
> Thanks,
> Liam
>
> [1] 
> http://incubator.apache.org/connectors/concepts.html#ManifoldCF+security+model
> [2] https://issues.apache.org/jira/browse/SOLR-1895
>

Reply via email to