Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 84331 invoked from network); 28 Aug 2002 19:50:37 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 28 Aug 2002 19:50:37 -0000 Received: (qmail 250 invoked by uid 97); 28 Aug 2002 19:51:09 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 232 invoked by uid 97); 28 Aug 2002 19:51:09 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 214 invoked by uid 98); 28 Aug 2002 19:51:08 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Subject: Bad file descriptor To: lucene-dev@jakarta.apache.org X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: "Stephanie Grasson" Date: Wed, 28 Aug 2002 15:49:46 -0400 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on JDMS04SN/JonesDay(Release 5.0.8 |June 18, 2001) at 08/28/2002 03:50:18 PM, Itemize by SMTP Server on jdms03sn/JonesDay(Release 5.0.8 |June 18, 2001) at 08/28/2002 03:50:18 PM, Serialize by Router on jdms03sn/JonesDay(Release 5.0.8 |June 18, 2001) at 08/28/2002 03:50:36 PM, Serialize complete at 08/28/2002 03:50:36 PM Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all. I've tried looking through the Lucene-dev archive and found several postings which addressed this issue, but the solution listed did not work in my application. I am using Lucene-1.2 on a Win2K box in conjunction with JDOM and SWT. I am getting the "Bad file descriptor" exception when attempting to execute the following line of code: Document doc = hits.doc(cur); "cur" is my loop counter and "hits" was returned in the line: Hits hits = searcher.search(query); Most of the postings I found suggested NOT closing the Searcher for my index. I tried this, but it didn't seem to make any difference. If anyone has had this problem before or has any suggestions on where else to look for a solution, I would be very grateful. Thank you in advance. Stephanie ========== The preceding e-mail message (including any attachments) contains information that may be confidential, be protected by the attorney-client or other applicable privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. ========== -- To unsubscribe, e-mail: For additional commands, e-mail: