mdBook icon indicating copy to clipboard operation
mdBook copied to clipboard

Display search results in order

Open nlsandler opened this issue 1 year ago • 0 comments

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!

nlsandler avatar Jan 06 '25 17:01 nlsandler