From d4784f043426bdb6bcb5827b0485200ffaa4f7e6 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Thu, 11 Mar 2021 13:01:25 +0100 Subject: [PATCH] Update SearchResultKeys.java --- .../java/it/cavallium/dbengine/client/SearchResultKeys.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/it/cavallium/dbengine/client/SearchResultKeys.java b/src/main/java/it/cavallium/dbengine/client/SearchResultKeys.java index c456584..254c313 100644 --- a/src/main/java/it/cavallium/dbengine/client/SearchResultKeys.java +++ b/src/main/java/it/cavallium/dbengine/client/SearchResultKeys.java @@ -40,6 +40,10 @@ public class SearchResultKeys { ); } + public Flux> onlyKeys() { + return this.results.filter(LuceneSignal::isValue).map(LuceneSignal::getValue); + } + /** * You must subscribe to both publishers */