Merged
Conversation
a651354 to
60ef493
Compare
0e62e18 to
767f7fa
Compare
nafraf
reviewed
Sep 20, 2025
| ARG_OPT_END); | ||
|
|
||
| // WITHSCORES flag - sets QEXEC_F_SEND_SCORES | ||
| ArgParser_AddBitflagV(parser, "WITHSCORES", "Include scores in results", |
Collaborator
There was a problem hiding this comment.
Check this, it seems WITHSCORES is only supported by FT.SEARCH
Collaborator
Author
There was a problem hiding this comment.
Yep, we need the scores to be sent in hybrid.
So we want to support this keyword.
Originally was meant to be added in the next PR:
#6858
But the change wound up here.
If you prefer I can move it to the next PR.
nafraf
reviewed
Sep 20, 2025
717debb to
884102e
Compare
884102e to
75eb31a
Compare
609d6e1 to
a782eb6
Compare
a782eb6 to
8964ee9
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #6857 +/- ##
==========================================
+ Coverage 86.24% 86.25% +0.01%
==========================================
Files 304 307 +3
Lines 48983 49289 +306
Branches 9543 9543
==========================================
+ Hits 42243 42516 +273
- Misses 6590 6623 +33
Partials 150 150
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
JoanFM
reviewed
Sep 22, 2025
JoanFM
requested changes
Sep 22, 2025
JoanFM
reviewed
Sep 22, 2025
JoanFM
reviewed
Sep 22, 2025
JoanFM
reviewed
Sep 22, 2025
e7078ff to
84659b5
Compare
JoanFM
previously approved these changes
Sep 25, 2025
JoanFM
approved these changes
Sep 25, 2025
nafraf
approved these changes
Sep 25, 2025
YaacovHazan
pushed a commit
to redis/redis
that referenced
this pull request
Oct 27, 2025
(RediSearch/RediSearch#7076, RediSearch/RediSearch#6857) - Introducing `FT.HYBRID`, a new command that enables hybrid queries combining both text and vector search, with support for **RRF** and **LINEAR** result combination. This update enhances performance and reliability through a more efficient networking layer, smoother query execution, and improved overall stability. (RediSearch/RediSearch#7065) - Add `search-default-scorer` configuration to set the default text scorer across queries (by default it is BM25). RediSearch/RediSearch#7022 - Handle Atomic Slot Migration events upon moving slots from one node to another in a cluster mode. (RediSearch/RediSearch#6769, RediSearch/RediSearch#6828, RediSearch/RediSearch#6877, RediSearch/RediSearch#6921) - Introduce query time memory guardrails by adding a new `search-on-oom` configuration which defines the query engine behavior when OOM (Out Of Memory) is reached. OOM checks are applied to `FT.SEARCH`, `FT.AGGREGATE`, and `FT.HYBRID` commands. The behavior on OOM can be configured to one of three modes: `IGNORE`, `FAIL`, or `RETURN`. `IGNORE` - The default behavior, run queries anyway (not recommended for heavy queries returning a large result set). `FAIL` - Fail query execution immediately if any of the nodes are in OOM state when query execution starts. `RETURN` - A best effort appraoch to return partial results when OOM is detected in only some of the nodes in a cluster mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR aims to refactor the hybrid parsing by using the newly added ArgsParser.
It also aims to separate the hybrid parsing flow from the aggregation or search flows.
A clear and concise description of what the PR is solving, including:
Main objects this PR modified
Mark if applicable