You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "msfroh (via GitHub)" <gi...@apache.org> on 2024/04/02 21:18:29 UTC

Re: [I] Support for building materialized views using Lucene formats [lucene]

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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org