Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 70966 invoked from network); 12 Jul 2007 17:41:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2007 17:41:48 -0000 Received: (qmail 95758 invoked by uid 500); 12 Jul 2007 17:41:42 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 95413 invoked by uid 500); 12 Jul 2007 17:41:41 -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 95323 invoked by uid 99); 12 Jul 2007 17:41:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 10:41:41 -0700 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_AHBL_RHSBL,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jafarim@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 10:41:37 -0700 Received: by py-out-1112.google.com with SMTP id f31so718358pyh for ; Thu, 12 Jul 2007 10:41:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=T0H/x+dGEt7CGEuFfJ66iycsVGqrIXef5DTKWQb1bsxJFvX66JWF3G28zk1v7Rl0jU/uzoqW7HVsGCls+9BTqP64lPPB/o8Ql/MT73Kn2Mb+ZmjMQEZi7qJj1ztQpI65WQvlYB6Y7X3T5b0ZtGpx0/fuhxgSDn8R23RIuWeB+Bk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ehva/N7koFdmtuZg24Vm08WQxEFDhYv82E04/zCStV48T9wDUl5tvH9KyCgc+C5aki6z0N+eoGVVapukyZAogPOEMSgQfzmXSudZ7DG8Ox9ENcrXr+Dy3fGC/ZvWdNykbrRGQM+bgh0NLxvoAP116GQyqmHoA7ndrQZ5ATouA7w= Received: by 10.65.234.2 with SMTP id l2mr1401118qbr.1184262076023; Thu, 12 Jul 2007 10:41:16 -0700 (PDT) Received: by 10.65.233.18 with HTTP; Thu, 12 Jul 2007 10:41:15 -0700 (PDT) Message-ID: Date: Thu, 12 Jul 2007 21:11:15 +0330 From: jafarim To: java-user@lucene.apache.org Subject: Re: How to reflect index changes to search automatically In-Reply-To: <359a92830707121017o43b4e727s5d13b8785b4cc661@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19334_7162042.1184262075977" References: <359a92830707121017o43b4e727s5d13b8785b4cc661@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_19334_7162042.1184262075977 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline With local indices, it is enough to reopen the IndexSearcher by calling close() and then renew the IndexSearcher object. How about RemoteSearchers? Is it necessary to re-initialize remote search server? --jaf On 7/12/07, Erick Erickson wrote: > > In general, searchers cannot see changes to an index with out restarting, > so I suspect that the answer is "no". This is entirely independent of > remote, > parallel, etc. > > Erick > > On 7/12/07, Sonu SR wrote: > > > > Hi, > > I have SearchServer and SearchClient programs. The SearchServer > > using RemoteSearchable > > for binding the indices in servers . The SearchClient using > > ParallelMultiSearcher for searching the indices. The problem is that I > > have > > to restart the search servers for reflecting the index change in search > on > > every index change(add or update). Is there any other solution to > reflect > > the changes in search. That is without restarting the SearchServer. > > > > Thanks, > > Sonu > > > ------=_Part_19334_7162042.1184262075977--