From d375be21056d01e401779bac4c1f6296a6f28cf3 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 3 Aug 2022 12:23:58 -0500 Subject: [PATCH] Fix gradle build issue after upgrade to Lucene 9.3.0 (#1988) (#1990) Signed-off-by: Craig Perkins (cherry picked from commit 437eb02c1d1f450af95feacafe072fec3861ec5a) Co-authored-by: Craig Perkins --- .../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(); }