jpountz commented on pull request #641: URL: https://github.com/apache/lucene/pull/641#issuecomment-1029048199
I've become a bit cautious with codec-level caching. E.g. we have threadlocals for stored fields which end up storing `num_search_threads * num_indices * num_segments_per_index` states overall, which is not always negligible depending on the size of the state. It's possible to try to share across fields or segments, but you need to pay attention to the case when they might use different file formats, which introduces complexity. -- 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...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org