diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-28 10:43:14 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-28 10:43:14 +0200 |
commit | d3f66edbd84a6b462b08ca2e260a1dbb1ba4b730 (patch) | |
tree | c319a9b6e078c696d04bbef85c600d1b405ee25b /indexer | |
parent | Frontend: Html: Set footer at the bottom of the page (diff) | |
download | OSSE-d3f66edbd84a6b462b08ca2e260a1dbb1ba4b730.tar.gz OSSE-d3f66edbd84a6b462b08ca2e260a1dbb1ba4b730.tar.bz2 OSSE-d3f66edbd84a6b462b08ca2e260a1dbb1ba4b730.zip |
Misc: Add TODOs
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/src/main.rs | 1 |
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) { |