: Ok... after spending time looking at the code... I see that a method is
: not closing a TokenStream in one of the classes (a class that is
: instantiated quite often) - I would imagine this could quite possibly be
: the culprit?

can you be more specific about the code in question?

I'm not sure what class is responsible for closing TokenStreams when
documents get added ... but the only way i can imagine this might possible
be causing you problems is if you are using Field instances built from a
Reader (because failure to close the TokenStream *might* mean failure to
close the Reader -- but i'm just guessing there)

if you aren't constructing your Document's using Fields built with
Readers, then even if there is a bug with closing TokenStreams it isn't
causing your problem.


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

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 6 | next ›
Discussion Overview
groupjava-user @
postedJul 3, '07 at 9:56p
activeJul 9, '07 at 2:48a

2 users in discussion

Van Nguyen: 3 posts Chris Hostetter: 3 posts



site design / logo © 2022 Grokbase