lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Wang <john.w...@gmail.com>
Subject TermDocs.close
Date Sun, 27 Dec 2009 11:37:47 GMT
Hi:

  I see TermDocs.close not being called when created with TermQuery:
TermQuery creates it and passes to TermScorer, and is never closed.

  I see TermDocs.close actually closes the input stream.

  Is it safe not closing TermDocs?

Thanks

-John

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message