web search done right
limit backlinks to 512 for better indexing performance
Mikkel Denker99d82b0a593b
diff --git a/crates/core/src/entrypoint/indexer/worker.rs b/crates/core/src/entrypoint/indexer/worker.rsindex 72b35193..88599ff9 100644--- a/crates/core/src/entrypoint/indexer/worker.rs+++ b/crates/core/src/entrypoint/indexer/worker.rs@@ -38,7 +38,7 @@ use crate::ranking::SignalComputer;use crate::webgraph::{self, Edge, EdgeLimit, Node, NodeID};use crate::webpage::{safety_classifier, Html, Webpage};-const MAX_BACKLINKS: EdgeLimit = EdgeLimit::Limit(1024);+const MAX_BACKLINKS: EdgeLimit = EdgeLimit::Limit(512);pub struct Config {pub host_centrality_store_path: String,