refactor: search engine and add debug index test

This commit is contained in:
2024-02-13 08:53:18 +01:00
parent d510178127
commit a75a278088
2 changed files with 21 additions and 1 deletions

View File

@@ -38,7 +38,6 @@ fn normalize_string(input_string: &str) -> String {
/// println!("{} - Relevance Score: {}", url, score);
/// }
/// ```
#[derive(Default, Debug, Clone)]
pub struct SearchEngine {
index: HashMap<String, HashMap<String, i32>>,