Skip to content

feat: add spellcheck support to search queries#486

Open
PouyaMohseni wants to merge 6 commits intodevelopfrom
spellcheck
Open

feat: add spellcheck support to search queries#486
PouyaMohseni wants to merge 6 commits intodevelopfrom
spellcheck

Conversation

@PouyaMohseni
Copy link
Copy Markdown
Contributor

  • Re-query using spellcheck suggestions when no results are found
  • Display suggested results and update UI messaging
  • Fix facet handling and enable case-insensitive spellcheck

UI examples:
Screenshot
Screenshot
Screenshot

ref: #407

- Adds `spellcheck_suggestion` to the context
- If the current query returns no results, re-queries Solr using the suggested query
- Updates template logic to differentiate between:
  - No results at all
  - Results for the suggested spellcheck query
  - Results for the original search
- spellcheck-based re-query for HBS facets
- updates UI messaging
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.

1 participant