Skip to content

Commit

Permalink
Update performance test with nested field
Browse files Browse the repository at this point in the history
Signed-off-by: Heemin Kim <[email protected]>
  • Loading branch information
heemin32 committed Feb 20, 2024
1 parent ab9991e commit 343cc30
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/perf-tool/okpt/test/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def get_body(self, vec):
}

def get_exclude_fields(self):
return ['nested_field.' + self.field_name]
return ['nested_field']

class GetStatsStep(OpenSearchStep):
"""See base class."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ steps:
index_name: target_index
- name: create_index
index_name: target_index
index_spec: release-configs/faiss-hnsw/nested/simple/index.json
index_spec: release-configs/lucene-hnsw/nested/simple/index.json
- name: ingest_nested_field
index_name: target_index
field_name: target_field
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/perf-tool/release-configs/run_all_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ curl -X PUT "http://$ENDPOINT:$PORT/_cluster/settings?pretty" -H 'Content-Type:

TESTS="./release-configs/faiss-hnsw/filtering/relaxed-filter/relaxed-filter-test.yml
./release-configs/faiss-hnsw/filtering/restrictive-filter/restrictive-filter-test.yml
./release-configs/faiss-hnsw/nested/simple/simple-nested-test.yml
./release-configs/faiss-hnsw/test.yml
./release-configs/faiss-hnswpq/test.yml
./release-configs/faiss-ivf/filtering/relaxed-filter/relaxed-filter-test.yml
Expand All @@ -76,6 +77,7 @@ TESTS="./release-configs/faiss-hnsw/filtering/relaxed-filter/relaxed-filter-test
./release-configs/faiss-ivfpq/test.yml
./release-configs/lucene-hnsw/filtering/relaxed-filter/relaxed-filter-test.yml
./release-configs/lucene-hnsw/filtering/restrictive-filter/restrictive-filter-test.yml
./release-configs/lucene-hnsw/nested/simple/simple-nested-test.yml
./release-configs/lucene-hnsw/test.yml
./release-configs/nmslib-hnsw/test.yml"

Expand Down

0 comments on commit 343cc30

Please sign in to comment.