pub fn entry_tf(e: &Entry) -> (Vec<(String, u16)>, u32)
Weighted terms: names and headings count most, doc prose next, code examples and signatures least (they repeat incidental identifiers).