SOLR-9310 we added more code that does some fingerprint caching in SolrIndexSearcher. However, the synchronization looks like it could be made more efficient and may have issues with correctness.
Some of the issues:
- Double checked locking needs use of volatile variables to ensure proper memory semantics.
- sync on a ConcurrentHashMap is usually a code smell