From f5309b4d3fd751e61bbfafa99061fb9db33ed703 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Wed, 3 Aug 2022 12:16:33 -0400 Subject: [PATCH] Fix gradle build issue after upgrade to Lucene 9.3.0 (#1988) Signed-off-by: Craig Perkins (cherry picked from commit 437eb02c1d1f450af95feacafe072fec3861ec5a) --- .../security/configuration/DlsFlsFilterLeafReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/security/configuration/DlsFlsFilterLeafReader.java b/src/main/java/org/opensearch/security/configuration/DlsFlsFilterLeafReader.java index 873fb46de8..2b390b7c85 100644 --- a/src/main/java/org/opensearch/security/configuration/DlsFlsFilterLeafReader.java +++ b/src/main/java/org/opensearch/security/configuration/DlsFlsFilterLeafReader.java @@ -965,7 +965,7 @@ public long nextOrd() throws IOException { } @Override - public long docValueCount() { + public int docValueCount() { return sortedSetDocValues.docValueCount(); }