pub fn search<'a>(book: &'a Book, query: &str, limit: usize) -> Vec<&'a Section>Expand description
The best limit sections for query: a word in a heading counts more than
one in the body, a section holding every word beats one holding some, and a
verbatim phrase beats both. Ties keep the Book’s reading order.