Raise matching floor: boundary tokenizer, stemming/folding/stopwords, boosts, snippets, engine seam
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ fn thousand_file_corpus_is_searchable_and_honest() {
|
||||
assert_eq!(matches, total as u64);
|
||||
assert_eq!(hits.len(), 10);
|
||||
|
||||
let response = build_response("scale", response_items(&hits), matches, 10);
|
||||
let response = build_response("scale", response_items(&hits), Some(matches), 10);
|
||||
assert!(response.truncated);
|
||||
assert_eq!(response.more_available, (total - 10) as u64);
|
||||
assert!(serde_json::to_string(&response).unwrap().len() > 0);
|
||||
|
||||
Reference in New Issue
Block a user