Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 39142 invoked from network); 29 Apr 2002 11:10:05 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Apr 2002 11:10:05 -0000 Received: (qmail 9802 invoked by uid 97); 29 Apr 2002 11:10:04 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 9787 invoked by uid 97); 29 Apr 2002 11:10:04 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 9776 invoked from network); 29 Apr 2002 11:10:03 -0000 Message-ID: <6176196.1020078599973.JavaMail.digimem@venus> Date: Mon, 29 Apr 2002 12:09:59 +0100 (BST) From: Ian Lea To: petite_abeille Subject: Re: FileNotFoundException: code example Cc: Lucene Users List Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6_5311938.1020078599966" X-Mailer: digimemmailer v1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_Part_6_5311938.1020078599966 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > > I would add some logging to the code > > You lost me here... Where should I add some logging? At the top of every method, or next to every lucene call, or wherever anything interesting happens. System.out.println("Calling search()"); or use log4j or whatever you prefer. > > to get more idea of which Lucene methods are > > actually being called, when, in what sequence. > > I typical sequence looks like that: > > - search() > - deleteIndexWithID() > - indexValuesWithID() You may think you know that. You may even be right. But are you positive? Absolutely positive that you are not accidentally opening multiple readers or something? -- Ian. ---------------------------------------------------------------------- Searchable personal storage and archiving from http://www.digimem.net/ ------=_Part_6_5311938.1020078599966 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: ------=_Part_6_5311938.1020078599966--