magibney opened a new pull request #646: URL: https://github.com/apache/solr/pull/646
See: [SOLR-16017](https://issues.apache.org/jira/browse/SOLR-16017) add a hook for initializing caches by passing a reference to the first registered searcher This complements (and is analogous to) `SolrCache.warm(...)`; together, the new `bootstrap(...)` method and the existing `warm(...)` method allow for consistency across the lifecycle of SolrCache instances. There is an old comment about possibly passing SolrIndexSearcher in cache `init(...)`, and having the cache retain a reference to the searcher. We prefer the approach taken here -- for now -- for backward compatibility, and so that any change in how SolrIndexSearcher references are passed to SolrCache instances may be considered as a discrete change. -- 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]
