bruno-roustant opened a new pull request #1007: LUCENE-9045: Do not use TreeMap/TreeSet in BlockTree and PerFieldPostingsFormat URL: https://github.com/apache/lucene-solr/pull/1007 The BlockTreeTermsReader.iterator() was detected by a profiler to spend abnormal time in TreeMap.keySet().iterator() iteration. The fix is to use a simple sorted list once the collection of fields is built. Same detection and fix for PerFieldPostingsFormat.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org