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

Enable vector search test and fix vector search tests #3232

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

pasin
Copy link
Contributor

@pasin pasin commented Feb 16, 2024

  • Linked CouchbaseLiteVectorSearch.xcframework from Tests/Extensions folder to the Objective-C’s test targets. The xcframework will not be push to Github.

  • Added download_vector_search_extension.sh script which will download the extension xcframework based on the version specified in Tests/Extensions/version.txt.

  • Fixed testVectorIndexConfigurationDefaultValue when checking the default encoding value.

  • Enabled all tests in VectorSearchTest.m.

@pasin pasin force-pushed the task/enable_vector_search_test branch from 43520f6 to da23bd7 Compare February 16, 2024 21:49
@pasin pasin force-pushed the task/enable_vector_search_test branch from da23bd7 to 2c33133 Compare February 16, 2024 22:02
CBLVectorIndexConfiguration* config = [[CBLVectorIndexConfiguration alloc] initWithExpression: @"vector"
dimensions: 300
centroids: 20];
AssertEqualObjects(config.encoding, [CBLVectorEncoding scalarQuantizerWithType: kCBLSQ8]);
Copy link
Contributor

Choose a reason for hiding this comment

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

missed this line on first read

* Linked CouchbaseLiteVectorSearch.xcframework from Tests/Extensions folder to the Objective-C’s test targets. The xcframework will not be push to Github.

* Added download_vector_search_extension.sh script which will download the extension xcframework based on the version specified in Tests/Extensions/version.txt.

* Fixed testVectorIndexConfigurationDefaultValue when checking the default encoding value.

* Enabled all tests in VectorSearchTest.m.
@pasin pasin force-pushed the task/enable_vector_search_test branch from 2c33133 to 106ab84 Compare February 16, 2024 22:21
@pasin pasin merged commit cb9878a into master Feb 17, 2024
9 checks passed
@pasin pasin deleted the task/enable_vector_search_test branch February 17, 2024 00:10
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