diff --git a/src/main/java/org/elasticsearch/common/util/concurrent/ThreadLocals.java b/src/main/java/org/elasticsearch/common/util/concurrent/ThreadLocals.java index 996dfe3bbc9..f2c0376d45d 100644 --- a/src/main/java/org/elasticsearch/common/util/concurrent/ThreadLocals.java +++ b/src/main/java/org/elasticsearch/common/util/concurrent/ThreadLocals.java @@ -98,7 +98,7 @@ public class ThreadLocals { } if (actualValue != null) { String actualValueClassName = actualValue.getClass().getName(); - if (actualValueClassName.startsWith("org.elasticsearch") || actualValueClassName.startsWith("org.lucene")) { + if (actualValueClassName.startsWith("org.elasticsearch") || actualValueClassName.startsWith("org.apache.lucene")) { remove = true; } }