romseygeek opened a new pull request, #12136:
URL: https://github.com/apache/lucene/pull/12136

   In TestUnifiedHighlighterTermVec, we have a special reader which counts the
   number of times term vectors are accessed, so that we can assert that caching
   works correctly here.  There is some special logic in place to skip the check
   when the test framework wraps readers with CheckIndex or ParallelReader; 
   however, this logic no longer works with ParallelReader in particular, 
because
   term vectors are now accessed through an anonymous class.
   
   A simpler solution here is to call `newSearcher(reader, false)`, which 
disables
   wrapping, meaning that we can remove this extra logic entirely.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to