-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support vectorsets at shard level (#2129)
* Basic vectorset support in shard writer New, open, set and remove resource, GC and reload * Skip implementation of vectorsets merge and replication (for now) * Add create vectors index function and some renames * Add normalize_vector parameter to new vectorset call * Add normalize_vector parameter to new vectorset call * Implement add_vector_set gRPC call * Add basic test creating 2 vectors indexes and setting a resource * Implement remove vectorset gRPC call * Implement list vectorsets gRPC call * Add more operations on the vectorset test * Fix rebase * Fix python lints after protos changes * Better way to pass parameters to open_vectors_writer Co-authored-by: Javier Torres <[email protected]> * Fix * No need to store ShardIndexes in the reader * Remove print from test * Start vectorsets support in shard reader * Use proto vectorset on search * More * Merge all vectors indexes and return any error * Add vectorset sentences to index paragraph proto * Use it on the tests * Fix merge so it doesn't block indexes lock --------- Co-authored-by: Javier Torres <[email protected]>
- Loading branch information
1 parent
6c53c37
commit 55fd11d
Showing
51 changed files
with
2,175 additions
and
2,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
55fd11d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
nucliadb/search/tests/unit/search/test_fetch.py::test_highligh_error
13140.148578835571
iter/sec (stddev: 8.343017325820474e-7
)13198.084460244272
iter/sec (stddev: 3.4157717375989134e-7
)1.00
This comment was automatically generated by workflow using github-action-benchmark.
55fd11d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
nucliadb/search/tests/unit/search/test_fetch.py::test_highligh_error
13099.025494679947
iter/sec (stddev: 4.824226359743248e-7
)13198.084460244272
iter/sec (stddev: 3.4157717375989134e-7
)1.01
This comment was automatically generated by workflow using github-action-benchmark.
55fd11d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
nucliadb/search/tests/unit/search/test_fetch.py::test_highligh_error
13229.232975222492
iter/sec (stddev: 2.8456513355174894e-7
)13198.084460244272
iter/sec (stddev: 3.4157717375989134e-7
)1.00
This comment was automatically generated by workflow using github-action-benchmark.