Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 73667 invoked from network); 19 Oct 2005 22:01:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2005 22:01:54 -0000 Received: (qmail 53841 invoked by uid 500); 19 Oct 2005 22:01:48 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 53810 invoked by uid 500); 19 Oct 2005 22:01:47 -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 53799 invoked by uid 99); 19 Oct 2005 22:01:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 15:01:47 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.200.39] (HELO web31106.mail.mud.yahoo.com) (68.142.200.39) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Oct 2005 15:01:47 -0700 Received: (qmail 30582 invoked by uid 60001); 19 Oct 2005 21:33:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4tJw9dxtwmumvRXGwjmQNbOXuaoqLJsvWerGwPaZTXVXCx4y6H49vzzTIoVdY/e5Lqcua6AZFE9zI9w/lnnbH2VRbXXngCMqTOmRUo8mg3j/MnBbcaJYuLW6MvLQEj4kfYfo7Uok79WbfGx+6+Ef58byqb19lY50EJtCtHMy5Nw= ; Message-ID: <20051019213335.30580.qmail@web31106.mail.mud.yahoo.com> Received: from [216.194.55.187] by web31106.mail.mud.yahoo.com via HTTP; Wed, 19 Oct 2005 14:33:35 PDT Date: Wed, 19 Oct 2005 14:33:35 -0700 (PDT) From: Otis Gospodnetic Subject: Re: Modify existing Indexes To: java-user@lucene.apache.org In-Reply-To: <20051019204822.48557.qmail@web53901.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Anushri, Save yourself some time by using the code from Lucene in Action - http://lucenebook.com/ . The code is free, and people say the book is not bad... Otis --- anushri kumar wrote: > Hi, > > I'm new to lucene. I am working on an application that searches HTML, > pdf, txt and word documents. I wanted to know how to overwrite the > indexes for a document which has been modified. Should I overwrite > that file, delete all the existing indexes and reindex all the files > in the dirctory or is there a way to reindex only that particular > file. > > Also I wanted to know, to index different kind of files for example > in my case HTML,pdf,TXT and word docs do I need to write different > indexing programs or can I use the same indexing program. > > Thanks in advance. > Anushri > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org