What happened
Searching for functions by name does not show the function (or functions with similar names) in search results as expected.
Steps to Reproduce
Steps to reproduce the behavior:
- Perform a search for the name of a function, e.g.
optional
- Suggested function names will be shown as completion suggestions - ignore them and search anyway
Example results page: https://noogle.dev/q?term=optional
Expected behavior
I expected searching for e.g. optional to show lib.optional, lib.optionalAttrs, etc. in results (probably as the first result!), but instead the first results are seemingly unrelated; builtins.path, builtins.fetchGit, etc.
My use case here is a Firefox bookmark keyword for quickly searching from the location bar, using the keyword search feature. In this case I've set https://noogle.dev/q?term=%s as the bookmark URL.
Screenshots

Desktop (please complete the following information):
- OS: macOS Sonoma 14.5 (23F79)
- Browser: Firefox
- Version: 127.0.2
- Screen resolution: 1920x1200
What happened
Searching for functions by name does not show the function (or functions with similar names) in search results as expected.
Steps to Reproduce
Steps to reproduce the behavior:
optionalExample results page: https://noogle.dev/q?term=optional
Expected behavior
I expected searching for e.g.
optionalto showlib.optional,lib.optionalAttrs, etc. in results (probably as the first result!), but instead the first results are seemingly unrelated;builtins.path,builtins.fetchGit, etc.My use case here is a Firefox bookmark keyword for quickly searching from the location bar, using the keyword search feature. In this case I've set
https://noogle.dev/q?term=%sas the bookmark URL.Screenshots
Desktop (please complete the following information):