magibney commented on code in PR #1557: URL: https://github.com/apache/solr/pull/1557#discussion_r1164340141
########## solr/core/src/java/org/apache/solr/highlight/DefaultSolrHighlighter.java: ########## @@ -695,7 +695,7 @@ protected Object doHighlightingByHighlighter( // Try term vectors, which is faster // note: offsets are minimally sufficient for this HL. - final Fields tvFields = schemaField.storeTermOffsets() ? reader.getTermVectors(docId) : null; + final Fields tvFields = schemaField.storeTermOffsets() ? reader.termVectors().get(docId) : null; Review Comment: I note that this is a `protected` method, but I don't see any classes that override this? Any potential issues for plugins if we changed the method signature? (either easy issues like plugins would need to update the method signature, or thornier issues like plugins actually use methods on the reader?) -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org