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

feat(search): Query parameters #1768

Merged
merged 4 commits into from
Sep 3, 2023
Merged

Conversation

dranikpg
Copy link
Contributor

@dranikpg dranikpg commented Aug 30, 2023

This PR makes it possible to use query parameters in search queries

For example '$name => [KNN $k @pos $vec]' PARAMS name joe k 10 vec \x00\x00

@dranikpg dranikpg marked this pull request as ready for review September 2, 2023 12:15
@dranikpg dranikpg changed the title WIP feat(search): Query parameters feat(search): Query parameters Sep 2, 2023
src/core/search/base.h Outdated Show resolved Hide resolved
src/core/search/query_driver.h Outdated Show resolved Hide resolved
src/core/search/query_driver.h Outdated Show resolved Hide resolved
src/core/search/scanner.h Outdated Show resolved Hide resolved
src/core/search/scanner.h Outdated Show resolved Hide resolved
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
chakaz
chakaz previously approved these changes Sep 3, 2023
src/core/search/base.h Outdated Show resolved Hide resolved
src/core/search/scanner.h Outdated Show resolved Hide resolved
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
@dranikpg dranikpg merged commit f1d9ab3 into dragonflydb:main Sep 3, 2023
7 checks passed
@dranikpg dranikpg deleted the search-params branch September 15, 2023 06:37
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.

None yet

2 participants