dsmiley commented on a change in pull request #757: URL: https://github.com/apache/solr/pull/757#discussion_r837678822
########## File path: solr/core/src/java/org/apache/solr/search/SolrDocumentFetcher.java ########## @@ -219,6 +221,28 @@ public boolean isLazyFieldLoadingEnabled() { } } + /** Returns a collection of the names of all indexed fields which the index reader knows about. */ + public Collection<String> getIndexedFieldNames() { + synchronized (this) { + if (indexedFieldNames == null) { + indexedFieldNames = new LinkedList<>(); Review comment: Yeah I figured you took the same algorithm, hence the LinkedList. Yes please change to ArrayList there too If you don't mind. -- 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