about summary refs log tree commit diff
path: root/indexer/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'indexer/src/main.rs')
-rw-r--r--indexer/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/indexer/src/main.rs b/indexer/src/main.rs
index d1ad867..8f12528 100644
--- a/indexer/src/main.rs
+++ b/indexer/src/main.rs
@@ -107,6 +107,7 @@ async fn search(data: web::Data<AppState>, term: web::Path<String>) -> impl Resp
     let query: Vec<&str> = term.split(' ').collect();
     let database = data.database.lock().unwrap();
 
+    //percentage of valid words
     let mut valid_results: Option<HashSet<CrawledResource>> = None;
     for w in query {
         let curr_word_results = match search_word_in_db(&database, w) {