jpountz commented on PR #14154: URL: https://github.com/apache/lucene/pull/14154#issuecomment-2652082591
I suspect that `ReuseStrategy` hasn't been built with the idea that it could be use to invalidate components, but only as a way to describe an efficient caching strategy for analysis components, typically whether analysis components can be cached globally (`GLOBAL_REUSE_STRATEGY`) or need a different cache entry on each field (`PER_FIELD_REUSE_STRATEGY`). @uschindler I believe that you are the one who designed this logic, I'd be interested in your thoughts. -- 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