refactor: search engine and add debug index test
This commit is contained in:
@@ -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>>,
|
||||
|
Reference in New Issue
Block a user