Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 82792 invoked from network); 26 Oct 2007 04:32:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 04:32:13 -0000 Received: (qmail 29724 invoked by uid 500); 26 Oct 2007 04:31:54 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 29698 invoked by uid 500); 26 Oct 2007 04:31:54 -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 29687 invoked by uid 99); 26 Oct 2007 04:31:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 21:31:54 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 04:31:57 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IlGrA-0005au-Lr for java-user@lucene.apache.org; Thu, 25 Oct 2007 21:31:36 -0700 Message-ID: <13420712.post@talk.nabble.com> Date: Thu, 25 Oct 2007 21:31:36 -0700 (PDT) From: poojasreejith To: java-user@lucene.apache.org Subject: Re: lucene indexing doubts In-Reply-To: <75DB4B78-818E-4F23-B1E2-9AD333CEB165@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: pooja@pivotsys.com References: <13412076.post@talk.nabble.com> <75DB4B78-818E-4F23-B1E2-9AD333CEB165@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org hi, thanks for your response. I think you hanven't got what my question is? I will explain with an example. I have a folder which contains the indexed files. so, suppose if i want to add one more indexed data into it, without deleting the whole folder and performing the indexing for all the files again. I want it to do only that one file and add the index in the index folder. karl wettin-3 wrote: > > > 25 okt 2007 kl. 19.35 skrev poojasreejith: > >> >> Can anyone of you guide me, how to index into an already indexed >> folder. >> Right now, I am deleting the indexed info and running the indexer >> again. I >> dont want to do that. I want a method, how to append into the same >> folder >> when new files are indexed. > > I'm not really sure I understand your question. > > Are you looking for the IndexWriter.deleteDocument method? > IndexWriter.html#updateDocument(org.apache.lucene.index.Term,% > 20org.apache.lucene.document.Document)> > > Are you looking for a delta, what has been changed in the filesystem > since your last update? If you have no way of checking this, what > about iterating all files and searching for their filename? Of course > you will need to index the file name too. > > I hope this helps. > > > -- > karl > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > > -- View this message in context: http://www.nabble.com/lucene-indexing-doubts-tf4692435.html#a13420712 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