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(search): Small improvements #2248

Merged
merged 1 commit into from
Dec 3, 2023
Merged

Conversation

dranikpg
Copy link
Contributor

@dranikpg dranikpg commented Dec 2, 2023

  • Return error for ft.create if index exists
  • Add configurable M parameter to hnsw (we can't easily support eps / ef)

CC: @Niennienzz

@dranikpg dranikpg requested a review from chakaz December 2, 2023 16:49
},
false);

DCHECK(exists_cnt == 0u || exists_cnt == shard_set->size());
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not that it matters greatly, but since it's supposed to either be 0 of shard_set->size(), you could do it in a single hop, no?

@dranikpg dranikpg merged commit f17bfaf into dragonflydb:main Dec 3, 2023
7 checks passed
@dranikpg dranikpg deleted the fix-search branch December 25, 2023 14:38
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