Tim-Brooks opened a new pull request, #16048: URL: https://github.com/apache/lucene/pull/16048
IndexingChain calls sortMap.oldToNew heavily during flush — per posting in FreqProxTermsWriter, per (field, doc) in DV writers, per vector in KNN writers. The previous implementation built oldToNew as a PackedLongValues, which is slow for that random-access hot path. Build oldToNew as an int[] during flush, then pack to PackedLongValues before storing on FlushedSegment, which is retained long-term on ReadersAndUpdates for sorted segments with seg-private updates. -- 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]
