Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 43369 invoked from network); 19 Oct 2005 20:54:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2005 20:54:49 -0000 Received: (qmail 52565 invoked by uid 500); 19 Oct 2005 20:54:43 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 52535 invoked by uid 500); 19 Oct 2005 20:54:42 -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 52516 invoked by uid 99); 19 Oct 2005 20:54:42 -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 13:54:42 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.36.211] (HELO web53901.mail.yahoo.com) (206.190.36.211) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Oct 2005 13:54:42 -0700 Received: (qmail 48559 invoked by uid 60001); 19 Oct 2005 20:48:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=d0JnFFF10+vcxAsyZyu310d64i+raM2lolBKhE8VTRGPlLarCoJpaFilItx4hiJ7UBX+ARaTqlzI56OK6DSr7bN8Ld0XChqlyhhe/+biLXPw/ztPxMemqr5wzBUGLQ3Ol6d829GobogxAz4PE6b3eOGpRbUlwUnV9wnaZh8sEYY= ; Message-ID: <20051019204822.48557.qmail@web53901.mail.yahoo.com> Received: from [24.249.120.85] by web53901.mail.yahoo.com via HTTP; Wed, 19 Oct 2005 13:48:22 PDT Date: Wed, 19 Oct 2005 13:48:22 -0700 (PDT) From: anushri kumar Subject: Modify existing Indexes To: java-user@lucene.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1257701268-1129754902=:47793" 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 --0-1257701268-1129754902=:47793 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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. --0-1257701268-1129754902=:47793--