Skip to content
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 search load for hybrid query with sort #565

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martin-gaievski
Copy link
Member

@martin-gaievski martin-gaievski commented Jan 13, 2025

Description

Adding procedure for existing workload for semantic search https://github.com/opensearch-project/opensearch-benchmark-workloads/tree/main/noaa_semantic_search that were added under #291.

New procedure is focused on performing hybrid and bool search queries when sort and search_after options are set.

This is needed for new sorting related features in hybrid query:

[Describe how this change was tested]
Stability of OSB tested with this PR: opensearch-project/opensearch-benchmark#727

Run following two commands.
First one creates index and ingests documents from NOAA dataset:

opensearch-benchmark execute-test --workload-path="/home/user/dev/opensearch/opensearch-benchmark-workloads/noaa_semantic_search/" --workload-params="/home/user/dev/opensearch/opensearch-benchmark-workloads/noaa_semantic_search/params/one_replica_no_concurrent_segment_search.json" --pipeline=benchmark-only --client-options=timeout:30 --target-host=localhost:9200 --kill-running-processes --test-procedure="create-and-index"

second command executes the new test procedure with all new search queries:

opensearch-benchmark execute-test --workload-path="/home/user/dev/opensearch/opensearch-benchmark-workloads-second/noaa_semantic_search/" --workload-params="/home/user/dev/opensearch/opensearch-benchmark-workloads/noaa_semantic_search/params/one_replica_no_concurrent_segment_search.json" --pipeline=benchmark-only --client-options=timeout:30 --target-host=localhost:9200 --kill-running-processes --test-procedure="hybrid-search-sorting"

Backport to Branches:

  • 6
  • 7
  • 1
  • 2
  • 3

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.

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.

1 participant