Skip to content

RCBC-467: Add support for vector search #131

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

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

DemetrisChr
Copy link
Contributor

Changes

  • Added the Cluster#search method which takes a Cluster::SearchRequest object as a parameter
  • Added the classes needed to construct vector search queries Cluster::VectorSearch and Cluster::VectorQuery
  • Added some tests to verify the encoding of search requests to the format expected by the C++ backend
  • Some general search fixes:
    - Removed an incorrect access of the operator field in MatchPhraseQuery which does not exist
    - Fixed the search row locations not being populated correctly in the search result

Results

All tests pass, including all relevant search & vector search tests in FIT

@DemetrisChr DemetrisChr requested a review from avsej January 19, 2024 13:21
@DemetrisChr DemetrisChr force-pushed the RCBC-467-vector-search branch from e83e9f5 to 21c32b4 Compare January 22, 2024 09:58
@DemetrisChr DemetrisChr merged commit c165492 into couchbase:main Jan 22, 2024
@DemetrisChr DemetrisChr deleted the RCBC-467-vector-search branch January 22, 2024 16: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