Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 50468 invoked from network); 25 Mar 2009 16:30:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Mar 2009 16:30:43 -0000 Received: (qmail 97487 invoked by uid 500); 25 Mar 2009 16:30:40 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 97408 invoked by uid 500); 25 Mar 2009 16:30:40 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 97398 invoked by uid 99); 25 Mar 2009 16:30:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2009 16:30:40 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of torindan@gmail.com designates 209.85.128.190 as permitted sender) Received: from [209.85.128.190] (HELO fk-out-0910.google.com) (209.85.128.190) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2009 16:30:32 +0000 Received: by fk-out-0910.google.com with SMTP id 18so54041fkq.5 for ; Wed, 25 Mar 2009 09:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=JqUVAH1IwDtT/AtKH5QIku432EF+P/7QqWhgPAD3iQs=; b=HX+er2PC6Gf7WBY394fD/4NnBr4vJma8xjrv9U6siCiAGItB9nTnp3c7OySylUNFO/ C8wnPjpjtthQ8v3myOnJq9u3AvuprGm2TTKQo2L0mriEJKVCCzjgtZHIcEAgEtnsJJ50 nRXQiyTK6pJUbFZDuPTlABmDDJHTLbeiQlKG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZkkmzR3MtjHWhlEHq3woi7rMSpOafwtpdEAsZaUg0rhv2lkE8gkMNqN1G7FiVkzfWn v+YgZTEoRqjD54qEBsNtaTsWq5hRkG9jx0KJWYBanmwNJ9hZGAc8uI8tIUh/cUZnmjbr 35X5xP90+EIM9qmm248x9t9GGuoGY3Oa91p4k= MIME-Version: 1.0 Received: by 10.204.53.143 with SMTP id m15mr3399756bkg.112.1237998611451; Wed, 25 Mar 2009 09:30:11 -0700 (PDT) In-Reply-To: <22705272.post@talk.nabble.com> References: <22705272.post@talk.nabble.com> Date: Wed, 25 Mar 2009 18:30:11 +0200 Message-ID: <2ffb6d060903250930h2a593578j3087a7e19282556c@mail.gmail.com> Subject: Re: Lucene index architecture question From: =?UTF-8?B?RGFuaWwgxaJPUklO?= To: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You can use solr (http://lucene.apache.org/solr/) Index on one machine and distribute the index to many. On Wed, Mar 25, 2009 at 18:18, kgeeva wrote: > > I have an application clustered on two servers. Is the best practice to have > two lucene indexes - one on each server for the app or is it best to have > one index (on one physical path) which can be shared by both servers? > > Both the indexes need to be in sync 24/7. > I would need to do updates and searches on the indexes. If I have two > indexes and an update is made on one server should I call a method to update > the second server index also to keep it in sync? > I have read of the classes MultiSearcher and ParalleMultiSearcher to use for > searching multiple indexes. > Are there similar classes to update multiple indexes? > Are there any issues with having a shared path for the index and multiple > servers updating the same index? > > Thank you, > Koshy > -- > View this message in context: http://www.nabble.com/Lucene-index-architecture-question-tp22705272p22705272.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org