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 */