diff --git a/applications/algorithms/similarity/src/main/java/org/neo4j/gds/applications/algorithms/similarity/FilteredNodeSimilarityWriteStep.java b/applications/algorithms/similarity/src/main/java/org/neo4j/gds/applications/algorithms/similarity/FilteredNodeSimilarityWriteStep.java index d200c47316..78a054a0e9 100644 --- a/applications/algorithms/similarity/src/main/java/org/neo4j/gds/applications/algorithms/similarity/FilteredNodeSimilarityWriteStep.java +++ b/applications/algorithms/similarity/src/main/java/org/neo4j/gds/applications/algorithms/similarity/FilteredNodeSimilarityWriteStep.java @@ -31,7 +31,6 @@ import org.neo4j.gds.similarity.nodesim.NodeSimilarityResult; import java.util.Map; -import java.util.Optional; import static org.neo4j.gds.applications.algorithms.metadata.LabelForProgressTracking.FilteredNodeSimilarity; @@ -78,7 +77,7 @@ public Pair> execute( configuration, configuration, shouldComputeSimilarityDistribution, - Optional.of(resultStore), + configuration.resolveResultStore(resultStore), FilteredNodeSimilarity, result.graphResult(), configuration.jobId()