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

Restore highlighting when possible for hybrid search #4352

Merged
merged 2 commits into from Jan 24, 2024

Conversation

dureuill
Copy link
Contributor

@dureuill dureuill commented Jan 23, 2024

Pull Request

Related issue

Fixes #4351

What does this PR do?

  • Use MatchingWords from keyword search instead of the one from vector search
  • New: When semanticRatio < 1.0, all words from the query are now highlighted in all results, regardless of their source (keyword or semantic)
  • No change: When semanticRatio == 1.0, no highlighting is applied, like before this PR

@dureuill dureuill marked this pull request as draft January 23, 2024 13:51
@curquiza curquiza added this to the v1.6.1 milestone Jan 23, 2024
@dureuill dureuill changed the base branch from main to release-v1.6.1 January 23, 2024 15:09
@dureuill dureuill marked this pull request as ready for review January 23, 2024 15:09
Copy link
Member

@ManyTheFish ManyTheFish left a comment

Choose a reason for hiding this comment

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

So simple 😮
nice Louis :D

bors merge

Copy link
Contributor

meili-bors bot commented Jan 24, 2024

@meili-bors meili-bors bot merged commit d77df4e into release-v1.6.1 Jan 24, 2024
10 checks passed
@meili-bors meili-bors bot deleted the fix-hybrid-highlighting branch January 24, 2024 13:05
@meili-bot meili-bot added the v1.6.1 PRs/issues solved in v1.6.1 released on 2024-02-05 label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.6.1 PRs/issues solved in v1.6.1 released on 2024-02-05
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No highlighting in hybrid search
4 participants