Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.6
-
None
-
New
Description
I'm seeing a regression the UnifiedHighlighter (observed in Solr 8.6, leading to a crashed core), likely caused by LUCENE-9376 (https://github.com/apache/lucene-solr/commit/8e578b4e51cbab206c31653077ce4a3e3a6879b8#diff-f545e503a21f7331f0706fb89f7c663eR648?)
dsmiley adds: [the] call to close indexReaderWithTermVecCache but this is a wrapper IndexReader that is not supposed to be closed. It'll close the underlying real reader if you do which is nasty as that's the live one, which thus brings down the core.
This is reproducible with Solr 8.6, a trivial configuration (https://gist.github.com/cbeer/6d3191918b39e3e83e80ac48c00de925), and an empty index with a request like:
Attachments
Issue Links
- is caused by
-
LUCENE-9376 Fix or suppress 20 resource leak precommit warnings in lucene/search
- Closed
- links to