-
Notifications
You must be signed in to change notification settings - Fork 12
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 terms appear to only apply to descriptions, not names #271
Comments
I'll look into it. This happens, because we use "pagefind" and I think i should add the name as a h1 title, which has higher weights, but i need to look into the details, how i currently set things up. I am also |
Thanks for the quick response! It looks like other users of pagefind have also run into this: CloudCannon/pagefind#437 It seems like adding the name as an h1 would work, an alternative might also be to set a custom attribute with a custom weight with If I have some time to try out the dev environment I can try to fix it myself! From the README:
Is there something special I'll need to do in order to see pagefind-related changes in a local dev environment? |
should be fixed with #561 We need some fix for names including |
@hsjobeki hmm, I tried out the preview deployment from that PR but the results still seem to rank e.g. Is this still something that would only be visible once deployed to prod? |
Hey @ian-h-chamberlain sorry for the late reply. Just to let you know i am aware the this issue is still not solved. |
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:
optional
Example results page: https://noogle.dev/q?term=optional
Expected behavior
I expected searching for e.g.
optional
to 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=%s
as the bookmark URL.Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: