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

RUST-1845 Support search index type field #1147

Merged
merged 4 commits into from
Jun 27, 2024

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Jun 25, 2024

RUST-1845

Pretty straightforward. The prose test run isn't patchable so here's the passing run.

@abr-egn abr-egn marked this pull request as ready for review June 25, 2024 20:02
@abr-egn abr-egn requested a review from isabelatkinson June 25, 2024 20:02
.create_search_index(
SearchIndexModel::builder()
.name(String::from("test-search-index-case7-vector"))
.index_type(SearchIndexType::VectorSearch)
Copy link
Contributor

Choose a reason for hiding this comment

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

The definition for this test doesn't include the type field in the index model -- this probably shouldn't be passing written as-is? I think the create_search_index call here is equivalent to the last one in the test above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As it turns out, the test was failing (i.e. the index creation was succeeding), but when I kicked off the evergreen run I accidentally left in a restriction that filtered out the test entirely. I've fixed the test and also updated the evergreen config to include the test-level breakdown which would have made that more obvious. New passing run is here :)

@abr-egn abr-egn requested a review from isabelatkinson June 27, 2024 17:42
@abr-egn abr-egn merged commit 08821ef into mongodb:main Jun 27, 2024
9 of 10 checks passed
qm3ster pushed a commit to qm3ster/mongo-rust-driver that referenced this pull request Jun 27, 2024
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.

2 participants