Return-Path: X-Original-To: apmail-manifoldcf-user-archive@www.apache.org Delivered-To: apmail-manifoldcf-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2470510B02 for ; Wed, 20 Nov 2013 11:56:37 +0000 (UTC) Received: (qmail 80926 invoked by uid 500); 20 Nov 2013 11:56:35 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 80871 invoked by uid 500); 20 Nov 2013 11:56:28 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 80850 invoked by uid 99); 20 Nov 2013 11:56:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 11:56:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of daddywri@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qa0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 11:56:14 +0000 Received: by mail-qa0-f52.google.com with SMTP id k4so1700125qaq.4 for ; Wed, 20 Nov 2013 03:55:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tvwGuHaBJx56KOfziMA4ffDDt0M1N0TEN4GslI7bi24=; b=UDZhwTembv7vFrl6tBPyCi9bzrMOvBQoshCVFbNI1oCjJnViXxaYMw/gt6H5xdwd4N CGvu1GbKb15KmWSoUSkHj2hkOPtwfiaWUss6rPVr5kWGUvaceNtZkpSyCupKDiKhYZop 8Ern0zY1/LPuiWHJm4CigHP3saJTiquzX7p7WFZ7IiNL0WLTPvqEVYUdbWu3Vsh5G4rR aYbFUGQoXWLfwWgSQVq90+qUk1dTrxUNy8MG2rDoM/6KklqVMEO5sI+NtHhB6hWi/EW8 0WNf3gLOJvlHukANnQ9pI6Io9ZFiuTLjd9b8e7nptQVtuYA75RGa1o6gexWPYV94vth5 zQwg== MIME-Version: 1.0 X-Received: by 10.49.1.10 with SMTP id 10mr695353qei.6.1384948553350; Wed, 20 Nov 2013 03:55:53 -0800 (PST) Received: by 10.96.177.35 with HTTP; Wed, 20 Nov 2013 03:55:53 -0800 (PST) In-Reply-To: References: Date: Wed, 20 Nov 2013 06:55:53 -0500 Message-ID: Subject: Re: Does ManifoldCF support distributed search with Apache Solr? From: Karl Wright To: "user@manifoldcf.apache.org" Content-Type: multipart/alternative; boundary=047d7b5db5928e046b04eb9a7646 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5db5928e046b04eb9a7646 Content-Type: text/plain; charset=ISO-8859-1 Hi Markus, I am glad that the search component is working for you, but it seems to me like it is perhaps not optimal, in the sense that there is no reason why the component should wait to apply its query restrictions so late in the query resolution cycle. This may have the unfortunate effect of also putting additional unnecessary load on the MCF Authority Service as well. It would be great to know what the recommended setup is for components like ours within Solr. If sharding support modifies the query, then I think the MCF plugin should remain exactly as it is with respect to sharding. But if sharding leaves the query alone, we may want to consider running the MCF plugin up-front instead. If you are able to do enough research to make a recommendation, I'd be happy to change the plugin functionality to match - or, at least, provide a parameter which would allow you to select how you want it to work. Thanks, Karl On Wed, Nov 20, 2013 at 4:11 AM, Markus Schuch wrote: > Hi Karl, > > we activated distributed search an it worked. > > It is important to know, that the MCF Security Component must be > configured in the search handler of each shards. > > When the sharded request arrives (having the shards parameter set) the MCF > Security Component deactivates itself. The search handler creates the 2nd > stage requests for each shard. These requests don't have the shards > parameters set (otherwise an endless loop would occur) which results to an > active the MCF Security Component on each shard in the 2nd stage. > > Thanks, > Markus > --047d7b5db5928e046b04eb9a7646 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Markus,

I am glad that= the search component is working for you, but it seems to me like it is per= haps not optimal, in the sense that there is no reason why the component sh= ould wait to apply its query restrictions so late in the query resolution c= ycle.=A0 This may have the unfortunate effect of also putting additional un= necessary load on the MCF Authority Service as well.

It would be great to know what the recommended setup is for compo= nents like ours within Solr.=A0 If sharding support modifies the query, the= n I think the MCF plugin should remain exactly as it is with respect to sha= rding.=A0 But if sharding leaves the query alone, we may want to consider r= unning the MCF plugin up-front instead.


If you are able to do enough research to make a recommendatio= n, I'd be happy to change the plugin functionality to match - or, at le= ast, provide a parameter which would allow you to select how you want it to= work.

Thanks,
Karl



<= div class=3D"gmail_quote">On Wed, Nov 20, 2013 at 4:11 AM, Markus Schuch <markus_schuch@web.de> wrote:
Hi Karl,

we activated distributed search an it worked.

It is important to know, that the MCF Security Component must be configured= in the search handler of each shards.

When the sharded request arrives (having the shards parameter set) the MCF = Security Component deactivates itself. The search handler creates the 2nd s= tage requests for each shard. These requests don't have the shards para= meters set (otherwise an endless loop would occur) which results to an acti= ve the MCF Security Component on each shard in the 2nd stage.

Thanks,
Markus

--047d7b5db5928e046b04eb9a7646--