Return-Path: Delivered-To: apmail-lenya-user-archive@www.apache.org Received: (qmail 82703 invoked from network); 3 Apr 2008 10:24:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2008 10:24:45 -0000 Received: (qmail 7476 invoked by uid 500); 3 Apr 2008 10:24:46 -0000 Delivered-To: apmail-lenya-user-archive@lenya.apache.org Received: (qmail 7228 invoked by uid 500); 3 Apr 2008 10:24:45 -0000 Mailing-List: contact user-help@lenya.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lenya.apache.org Delivered-To: mailing list user@lenya.apache.org Received: (qmail 7214 invoked by uid 99); 3 Apr 2008 10:24:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 03:24:45 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcclu-lenya-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 10:23:59 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JhMc3-0003D8-NG for user@lenya.apache.org; Thu, 03 Apr 2008 10:24:07 +0000 Received: from cust.static.84-253-63-109.cybernet.ch ([84.253.63.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2008 10:24:07 +0000 Received: from andreas by cust.static.84-253-63-109.cybernet.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2008 10:24:07 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: user@lenya.apache.org From: Andreas Hartmann Subject: Re: Search index scope Date: Thu, 03 Apr 2008 12:23:58 +0200 Lines: 68 Message-ID: References: <47F3707A.2050903@wyona.com> <47F39956.6070205@sendit.nodak.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cust.static.84-253-63-109.cybernet.ch User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org solprovider@apache.org schrieb: > On 4/2/08, Andreas Hartmann wrote: >> Richard Frovarp schrieb: >>> Michael Wechner wrote: >> >> Andreas Hartmann wrote: >> >>> at the moment, we configure the search index per publication. It is >> >>> probably possible to use the same search index across multiple >> >>> publications, but I wonder if this flexibility is really necessary or >> >>> could maybe be even harmful. >> >>> >> >>> I see the following advantages of using a common index for all >> >>> publications: >> >> I think a common index is bad, because >> >> - What if the index is becoming corrupt for whatever reason? >> >> - What if you want to use one single Lenya instance for hosting >> >> multiple publications and one needs to protect the content from each >> >> other >> >> > I agree. We have about 60 different domains hosted through one Lenya >> > instance. They all are school related, so searching for basketball in >> > one should only give you that school's basketball information, not that >> > plus 40 other districts. >> >> BTW, narrowing down the search to languages etc. (and potentially >> publications) can be done by extending the query string: >> +({http://purl.org/dc/elements/1.1/}title:Hello) +(language:en) >> -- Andreas > > Possibilities: > 1. Standard configuration copied to each publication. > The current situation. > > 2. Common configuration using publication-relative directories: > The standard configuration is contained in one location. Each > publication has separate index. A publication needing custom search > configuration can create its own configuration. (In 1.3, this will be > overriding the necessary files in a publication Module. Does 2.x have > similar abilities?) Yes, this could be done with including the config file e.g. via fallback://config/search/index.xml > An advantage is easier maintenance -- changes to > the standard configuration are immediately used by all Publications. Makes sense. > 2. Common index for multiple publications. > Configure publications to opt-in. This should not exclude > publication-specific indexes. Also allow several multiple publication > indexes to create sets of Publications. Users or developers may > choose to use the publication-specific or a common index depending on > needs. It looks like most people would prefer separate indexes by default. So the most useful change would probably be to make the index configuration optional. Did I understand this correctly? -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch Tel.: +41 (0) 43 818 57 01 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org For additional commands, e-mail: user-help@lenya.apache.org