On 3/14/2017 3:08 AM, Gerald Reinhart wrote:
My understanding of Solr and Lucene internals is rudimentary, but I
might know what's happening here.
The code closes the request, but never closes the searcher. Searcher
objects include a Lucene object that holds onto the index files that
pertain to that view of the index. The searcher must be closed.
It does look like if you close the searcher and then close the request,
that might be enough to fully decrement all the reference counters
involved, but I do not know the code well enough to be sure of that.