-
Notifications
You must be signed in to change notification settings - Fork 127
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
Adding release configs for lucene filtering #663
Adding release configs for lucene filtering #663
Conversation
Codecov Report
@@ Coverage Diff @@
## main #663 +/- ##
============================================
- Coverage 84.80% 84.47% -0.33%
+ Complexity 1055 1050 -5
============================================
Files 149 149
Lines 4291 4291
Branches 379 379
============================================
- Hits 3639 3625 -14
- Misses 477 489 +12
- Partials 175 177 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Currently blocked, this PR should unblock k-NN main #661 |
@martin-gaievski Can you rebase and try again? It should be fixed. |
Signed-off-by: Martin Gaievski <[email protected]>
cc29b84
to
f0669ca
Compare
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.
Could you rename existing test file as well? We have index.json and text.yml in lucene-hnsw folder. Something like index-spec.json and default-test.yml?
index_name: target_index | ||
- name: create_index | ||
index_name: target_index | ||
index_spec: /home/ec2-user/[PATH]/index.json |
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.
index_spec: /home/ec2-user/[PATH]/index.json | |
index_spec: [INDEX_SPEC_PATH]/index.json |
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.
I think /home/ec2-user
shouldn't be specified here.
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.
ack
field_name: target_field | ||
bulk_size: 500 | ||
dataset_format: hdf5 | ||
dataset_path: /home/ec2-user/data/sift-128-euclidean-with-attr.hdf5 |
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.
dataset_path: /home/ec2-user/data/sift-128-euclidean-with-attr.hdf5 | |
dataset_path: [DATASET_PATH]/sift-128-euclidean-with-attr.hdf5 |
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.
ack
index_name: target_index | ||
field_name: target_field | ||
dataset_format: hdf5 | ||
dataset_path: /home/ec2-user/data/sift-128-euclidean-with-attr.hdf5 |
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.
dataset_path: /home/ec2-user/data/sift-128-euclidean-with-attr.hdf5 | |
dataset_path: [DATASET_PATH]/sift-128-euclidean-with-attr.hdf5 |
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.
ack
dataset_format: hdf5 | ||
dataset_path: /home/ec2-user/data/sift-128-euclidean-with-attr.hdf5 | ||
neighbors_format: hdf5 | ||
neighbors_path: /home/ec2-user/data/sift-128-euclidean-with-filters.hdf5 |
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.
neighbors_path: /home/ec2-user/data/sift-128-euclidean-with-filters.hdf5 | |
neighbors_path: [DATASET_PATH]/sift-128-euclidean-with-filters.hdf5 |
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.
ack
neighbors_format: hdf5 | ||
neighbors_path: /home/ec2-user/data/sift-128-euclidean-with-filters.hdf5 | ||
neighbors_dataset: neighbors_filter_5 | ||
filter_spec: /home/ec2-user/[PATH]/relaxed-filter-spec.json |
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.
filter_spec: /home/ec2-user/[PATH]/relaxed-filter-spec.json | |
filter_spec: [FILTER_SPEC_PATH]/relaxed-filter-spec.json |
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.
ack
I think it's better to create new nested folder(s) for filtering. Renaming existing test config file may cause confusion/errors as its not consistent with tests for other engines. |
We can change the name in other test cases as well. The reason that I think renaming might be better is because index-spec.json file is used for filtering test as well. Or having a separate index-spec.json for each test is another option. |
…vars Signed-off-by: Martin Gaievski <[email protected]>
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.
LGTM
* Adding release configs for lucene filtering Signed-off-by: Martin Gaievski <[email protected]> (cherry picked from commit 99ade43)
* Adding release configs for lucene filtering Signed-off-by: Martin Gaievski <[email protected]> (cherry picked from commit 99ade43) Co-authored-by: Martin Gaievski <[email protected]>
Signed-off-by: Martin Gaievski [email protected]
Description
Adding release configs for Lucene filtering, it can be used to run perf tests for releases.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.