cpoerschke commented on code in PR #1557: URL: https://github.com/apache/solr/pull/1557#discussion_r1474352182
########## solr/core/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java: ########## @@ -316,6 +318,7 @@ private static SimpleOrderedMap<Object> getDocumentFieldsInfo( Document doc, int docId, IndexReader reader, IndexSchema schema) throws IOException { final CharsRefBuilder spare = new CharsRefBuilder(); SimpleOrderedMap<Object> finfo = new SimpleOrderedMap<>(); + TermVectors termVectors = reader.termVectors(); Review Comment: https://github.com/apache/solr/pull/1557/commits/ccd0b2e4d8fee9e44dc4e272e5e7f31f57e7a177 for that ########## solr/core/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java: ########## @@ -353,7 +356,7 @@ private static SimpleOrderedMap<Object> getDocumentFieldsInfo( // If we have a term vector, return that if (field.fieldType().storeTermVectors()) { try { - Terms v = reader.getTermVector(docId, field.name()); + Terms v = termVectors.get(docId, field.name()); Review Comment: https://github.com/apache/solr/pull/1557/commits/ccd0b2e4d8fee9e44dc4e272e5e7f31f57e7a177 for that -- 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