Just for the list/knowledge archive:
I found the source of one of the exceptions in my code:
> java.io.IOException: Interrupted system call
> at java.io.RandomAccessFile.seek(Native Method)
> at
>
org.apache.lucene.store.FSInputStream.readInternal(FSDirectory.java:271)
> at
> // if the index has been modified since opened, re-open it.
> if (IndexReader.lastModified(_paIndexDir) >= _paIndexLastMod)
> {
> _paIndexLastMod = new Date().getTime();
> if (_paIndexSearcher != null)
> _paIndexSearcher.close();
> _paIndexLastMod = new Date().getTime();
> }
> if (_paIndexSearcher == null)
> _paIndexSearcher = new IndexSearcher(_paIndexDir);
BUG: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
And what if it's != null? It's already close()d above.
The other one might have been a side-effect of the above bug.
Otis
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>