Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undesirable search result ordering in documentation #514

Open
MDLC01 opened this issue Dec 28, 2024 · 0 comments
Open

Undesirable search result ordering in documentation #514

MDLC01 opened this issue Dec 28, 2024 · 0 comments
Labels
bug Something isn't working.

Comments

@MDLC01
Copy link

MDLC01 commented Dec 28, 2024

Description

Searching for "list" in the documentation yields the following results:

  • Bullet List Item,
  • Term List,
  • Bullet List,
  • Numbered List,
  • ...

"Bullet List Item" showing up first and "Bullet List" showing up third seem undesirable. Instead, I would expect "Bullet List," "Numbered List," and then "Term List," followed by all list item elements.

This can be decomposed into two parts: (1) a search entry that is part of the page of another entry should typically appear lower than the main entry in search results when both match the query, and (2) there needs to be some manual adjustments to make more important entries (like Bullet List compared to Term List) rank higher.

Reproduction URL

https://typst.app/docs

Browsers

No response

OS

No response

@MDLC01 MDLC01 added the bug Something isn't working. label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant