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: Fuzzy usage when handling IS API requests #2565

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hellofanny
Copy link
Contributor

@hellofanny hellofanny commented Nov 14, 2024

What's the purpose of this pull request?

This PR aims to correct fuzzy and operator usage when handling Intelligent Search API requests.

Previously, we specified a default value for fuzzy fuzzy=auto. But we shouldn’t include it on the first request to Search. According to the IS team, the correct behavior should let the search engine decide the best parameters for the search.

Re-applies changes made from #2204 without adding the blink effect added previously.

How it works?

How to test it?

Starters Deploy Preview

References

Copy link

vercel bot commented Nov 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2024 10:39pm

Copy link

codesandbox-ci bot commented Nov 14, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Comment on lines +56 to +61
const hasFuzzy = findFacetValue(selectedFacets, 'fuzzy')

if(!hasFuzzy) {
return <EmptySearch />
}

Copy link
Contributor Author

@hellofanny hellofanny Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only change that differ from #2204

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

Successfully merging this pull request may close these issues.

2 participants