-
Notifications
You must be signed in to change notification settings - Fork 288
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
[Bug]: Orama search results are sometimes very long and unformatted #656
Comments
Orama searchbox does not have syntax highlighting for the results (the Summary AI feature does). if it's not easy to have it on SearchBox, we could perhaps add a new entry to the entries frontmatter with a text-only description (no code-snippets). Wdyt, @LadyBluenotes / @SaraVieira ? |
I think this is on our side, we could add syntax highlights but honestly descriptions shouldn't have them, what about a trim to like 200 characters? What y'all think? |
It feels like it's an issue with the search algorithm, because usually the searched word is marked bold and here, the search query |
Honestly this an awesome find, bad bug but incredible on how cursed it is either way lol Gonna try to get a new release today that removes all the code snippets from the results |
Okay this PR #660 fixes the code, I am now fixing the fact that these descriptions are way too long |
fixed by #660 ended up doing all in there |
📝 Issue Description
Sometimes, depending on the result, orama outputs very long and unformatted search results.
📋 On which page(s) it occurs
On all pages
🤔 Expected Behavior
The search results should always be shortened like this:
👀 Current Behavior
Sometimes, depending on the result, orama outputs very long and unformatted search results. Here I'm searching for
few
and the results are a mess:🖥️ Browser
Chromium Engine Version 123.0.6312.106
📄 Additional Information
No response
The text was updated successfully, but these errors were encountered: