lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephanie Grasson" <sgras...@JonesDay.com>
Subject Bad file descriptor
Date Wed, 28 Aug 2002 19:49:46 GMT
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:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message