lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyril Barlow" <i...@fantasyfooty.org>
Subject Re: IndexSearcher in servlet containers
Date Thu, 06 Oct 2005 01:03:04 GMT

> > I'm getting :
> >
> >  java.io.IOException: The handle is invalid at
> > java.io.RandomAccessFile.seek(Native Method) at
>
> Did you perhaps close the IndexSearcher somewhere along the way?
>
>      Erik


No, but I'm now creating new IndexSearchers every servlet doPost method and
not closing them. It works without the caching probems for some reason and
it's much quicker?? I'm hoping the garbage collector sorts the cleaning up
though..


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message