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

Fix perfect matching provisionally #976

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

BernatBC
Copy link
Member

Issue

Description

Fixes the issue where perfect matches are not found. This is a Fuse's issue, which is merged in main, but not released yet. Meanwhile, I added some permissiveness when matching.

Test Evidence

In the example site, before this PR you could type "sample" in the search bar, and no result was matched.

Now, if you type "sample", posts containing the substring "sample" will be matched. (You can try it in the generated netlify deploy)

Copy link

netlify bot commented Sep 14, 2024

Deploy Preview for toha-ci ready!

Name Link
🔨 Latest commit 8c40e37
🔍 Latest deploy log https://app.netlify.com/sites/toha-ci/deploys/66ecc70f431a8300081b467a
😎 Deploy Preview https://deploy-preview-976--toha-ci.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@BernatBC BernatBC added the bug-fix Bug fixes label Sep 15, 2024
@kodiakhq kodiakhq bot merged commit 0e8f827 into hugo-toha:main Sep 20, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

post search not returning matched results
2 participants