diff --git a/lucene/monitor/src/java/org/apache/lucene/monitor/TermFilteredPresearcher.java b/lucene/monitor/src/java/org/apache/lucene/monitor/TermFilteredPresearcher.java index 0e8db5db248..8304fe906d2 100644 --- a/lucene/monitor/src/java/org/apache/lucene/monitor/TermFilteredPresearcher.java +++ b/lucene/monitor/src/java/org/apache/lucene/monitor/TermFilteredPresearcher.java @@ -70,8 +70,8 @@ public class TermFilteredPresearcher extends Presearcher { private final Set filterFields; private final List queryHandlers = new ArrayList<>(); - static final String ANYTOKEN_FIELD = "__anytokenfield"; - static final String ANYTOKEN = "__ANYTOKEN__"; + public static final String ANYTOKEN_FIELD = "__anytokenfield"; + public static final String ANYTOKEN = "__ANYTOKEN__"; /** Creates a new TermFilteredPresearcher using the default term weighting */ public TermFilteredPresearcher() {