msfroh commented on issue #13188: URL: https://github.com/apache/lucene/issues/13188#issuecomment-2033117183
I wonder if we could think of this more broadly as a caching problem. Basically, you could evaluate some "question" (aggregations, statistics, etc.) for all segments and save the index-level question and the per-`SegmentCommitInfo` answers to disk. When a new segment gets flushed (or produced by a merge), we could eagerly evaluate the question against the new segment. (We would probably also need to reevaluate for segments that have new deletes, and maybe updated doc values.) -- 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