From 2c81649e284b1a1f3a4b46fd589befc87306d0dc Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Fri, 17 May 2024 11:26:08 +0100 Subject: [PATCH] lucene-monitor: make TermFilteredPresearcher.ANYTOKEN[_FIELD] public (#13379) --- .../org/apache/lucene/monitor/TermFilteredPresearcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {