diff --git a/lucene/core/src/java/org/apache/lucene/search/TermInSetQuery.java b/lucene/core/src/java/org/apache/lucene/search/TermInSetQuery.java index 08fe3c3a485f..49623c0bbe94 100644 --- a/lucene/core/src/java/org/apache/lucene/search/TermInSetQuery.java +++ b/lucene/core/src/java/org/apache/lucene/search/TermInSetQuery.java @@ -146,6 +146,10 @@ public PrefixCodedTerms getTermData() { return termData; } + public String getField() { + return field; + } + @Override public String toString(String defaultField) { StringBuilder builder = new StringBuilder();