From 0dfd870ba75380b6b1611953b71cf9b63da8cec7 Mon Sep 17 00:00:00 2001 From: Michael Braun Date: Tue, 18 Apr 2017 17:05:29 -0400 Subject: [PATCH] LUCENE-7786 - add getter for field to TermInSetQuery --- .../src/java/org/apache/lucene/search/TermInSetQuery.java | 4 ++++ 1 file changed, 4 insertions(+) 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();