cpoerschke commented on code in PR #1557:
URL: https://github.com/apache/solr/pull/1557#discussion_r1475973471
##########
solr/core/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java:
##########
@@ -1087,35 +1102,26 @@ public boolean incrementToken() throws IOException {
}
/**
- * Wraps a DirectoryReader that caches the {@link
LeafReader#getTermVectors(int)} so that if the
- * next call has the same ID, then it is reused.
+ * Wraps a TermVectors and caches the {@link TermVectors#get(int)} so that
if the next call has
+ * the same ID, then it is reused.
*/
- static class TermVectorReusingLeafReader extends FilterLeafReader {
+ static class ReusingTermVectors extends TermVectors {
Review Comment:
change from additional
https://github.com/apache/solr/pull/1557/commits/3a536bd8485338d765e65f99d4a0e6f581dde424
commit
--
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]