Skip to content

web search done right

only merge webgraph segments in the end

Mikkel Denker687db2d8b071
diff --git a/core/src/entrypoint/webgraph.rs b/core/src/entrypoint/webgraph.rs
index 6867a80f..ec1b4dc6 100644
--- a/core/src/entrypoint/webgraph.rs
+++ b/core/src/entrypoint/webgraph.rs
@@ -288,8 +288,8 @@ impl Webgraph {
for other in it {
graph = graph.reduce(other);
- graph.merge_segments(1);
}
+ graph.merge_segments(1);
graph
}));