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

Search page shows no results even though autocomplete finds them #1930

Closed
Nicd opened this issue Jul 6, 2024 · 1 comment
Closed

Search page shows no results even though autocomplete finds them #1930

Nicd opened this issue Jul 6, 2024 · 1 comment

Comments

@Nicd
Copy link

Nicd commented Jul 6, 2024

This occurs in the latest Elixir docs, apologies if this has been fixed in main.

If you write a Module.function type search, for example Process.monitor and press enter, you will end up on this page: https://hexdocs.pm/elixir/search.html?q=Process.monitor. At the time of writing, the page displays "Sorry, we couldn't find anything for Process.monitor." But if you observe the autocomplete while writing the search, it shows you the exact function you wanted. So the autocomplete and search have a disagreement on what results exist. Interestingly if I write Process.monitor/1, then the search page will show the result too.

This matters to me personally as I use my browser to redirect typing ex Process.monitor in my address bar to the aforementioned URL directly. Now I also have to open the autocomplete on that page to actually get to the function I wanted.

@Nicd Nicd changed the title Autocomplete returns results that the actual search doesn't Search page shows no results even though autocomplete finds them Jul 6, 2024
@Nicd
Copy link
Author

Nicd commented Jul 6, 2024

💜 Thanks for all your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant