mdBook
mdBook copied to clipboard
Display search results in order
Problem
Search results are not sorted in the same order they appear in the book - they seem to be sorted in random order (or maybe using some sort of heuristic for relevance). I'd find it really helpful to return search results in order - it would be easier to just see results from parts of the book I've already read and find where a term is first defined.
Proposed Solution
Display search results in the same order they appear in the book.
Notes
I initially filed this issue against the Rust book at https://github.com/rust-lang/book/issues/4188 and was told to open it here!