rust-lang / rust-lang/rust-analyzer

Partial word search in the book doesn't work on some titles/words.

Open
#19,700 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

Try visiting:
https://rust-analyzer.github.io/book/configuration.html?search=linkedProjects
https://rust-analyzer.github.io/book/configuration.html?search=lru.capacity
https://rust-analyzer.github.io/book/index.html?search=cargo.sysrootSrc
etc.
These have results on https://rust-analyzer.github.io/book/configuration.html but page says no results.

Image

I didn't open this ticket on mdbook because I couldn't reproduce it on other rust books/docs. Let me know if you want me to reopen in that repo.
I am not sure what make these titles/words different. Maybe it's because they have .(dot/period).

rust-analyzer version: NA

rustc version: NA

editor or extension: NA

relevant settings: NA

repository link (if public, optional): NA

code snippet to reproduce: NA

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the searches for linkedProjects, lru.capacity, and cargo.sysrootSrc on the linked rust-analyzer book pages, then compare them with a search that does return results. Trace the book's search behavior and verify that these queries return their matching entries instead of “no results”.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.