Skip to content

Conversation

@DemetrisChr
Copy link
Contributor

Motivation

In 7.6.2, the server will support base64 encoding of vectors in addition to array type "vector". The new encoding type will be accepted via the parameter "vector_base64" in the vector search query.

Changes

  • Add new overload for the constructor of VectorQuery that accepts a string which represents a base64 encoded sequence of little-endian IEEE 754 floats. This is then forwarded as-is in the vector search query using the"vector_base64" parameter.
  • Core update to f72a089 which includes raising FeatureNotAvailable in SearchIndexManager#upsert_index & ScopeSearchIndexManager#upsert_index when upserting indexes with vector definitions to servers that do not support it.

Results

All vector search tests in FIT pass

@DemetrisChr DemetrisChr requested a review from avsej May 29, 2024 12:17
@DemetrisChr DemetrisChr merged commit e9930cc into couchbase:main May 29, 2024
@DemetrisChr DemetrisChr deleted the RCBC-489-base64vector branch May 29, 2024 15:35
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