Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 80236 invoked from network); 16 Feb 2007 01:59:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2007 01:59:42 -0000 Received: (qmail 3091 invoked by uid 500); 16 Feb 2007 01:59:44 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 3060 invoked by uid 500); 16 Feb 2007 01:59:44 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 3050 invoked by uid 99); 16 Feb 2007 01:59:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 17:59:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [69.55.225.129] (HELO ehatchersolutions.com) (69.55.225.129) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 17:59:33 -0800 Received: by ehatchersolutions.com (Postfix, from userid 504) id 7FF8E30EFC17; Thu, 15 Feb 2007 20:59:11 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on javelina X-Spam-Level: Received: from [10.0.1.2] (va-71-53-203-135.dhcp.embarqhsd.net [71.53.203.135]) by ehatchersolutions.com (Postfix) with ESMTP id B1EC630EFC16 for ; Thu, 15 Feb 2007 20:59:08 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <638370.15224.qm@web50304.mail.yahoo.com> References: <638370.15224.qm@web50304.mail.yahoo.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: finer granularity of configuration Date: Thu, 15 Feb 2007 20:59:05 -0500 To: solr-dev@lucene.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.1 On Feb 15, 2007, at 7:59 PM, Otis Gospodnetic wrote: > Hi, > > ----- Original Message ---- > From: Yonik Seeley > > On 2/15/07, Otis Gospodnetic wrote: >> Sorry, this was meant for Erik (relates to some direct emails). >> Now everyone knows my secret desire: 1 Solr to serve N indices >> with the same config, just a different directory. I'm thinking >> Simpy here: >> http://simpy-index-server/solr/search/erik/links?q=ruby >> http://simpy-index-server/solr/search/otis/notes?q=recipe >> http://simpy-index-server/solr/search/otis/links?q=cookies >> Where each of this is really a separate Lucene index: erik's links >> index, otis' notes index, and otis' links index. > > Each user has a separate index??? While this makes for fast search > within a single user, don't you ever need to search across all of them > at once? > > OG: Most searches are going against a single user's data, so a > separate index works well for that. A separate index is also good > to have in case something gets foobared - a lot less data to reindex. > OG: A separate index is used for searching across all users. This > index has a different structure (fields, analyzer, update rates...) > > OG: How hard would it be to add support for multiple indices? > Having 1 Solr for N indices + an "index location resolver" would, I > think, really allow one to scale a number of indices over a number > of Solr servers: > > client --- http://resolver/search/?q=... ---> resolves & > dispatches to the right Solr server --> solrN > > Each Solr instance is a front end to a number of indices. Of > course, the resolver could be completely internal (in-JVM). Sounds like what we need is a tie-in to NetKernel :) Erik