rnewson commented on code in PR #6096:
URL: https://github.com/apache/couchdb/pull/6096#discussion_r3842133720


##########
extra/nouveau/src/main/java/org/apache/couchdb/nouveau/lucene/LuceneIndexSchema.java:
##########
@@ -56,6 +56,8 @@ private static Type fromField(final Field field) {
 
     private final ConcurrentMap<String, Type> map;
 
+    private final ConcurrentMap<Locale, Map<String, PointsConfig>> 
pointsConfigCache = new ConcurrentHashMap<>();

Review Comment:
   hm thanks for that, I thought it was safe. will revisit this caching (I 
wanted to cache the QueryParser's really so I might move focus there)



-- 
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]

Reply via email to