Support system generated search pipeline.#19128
Merged
owaiskazi19 merged 1 commit intoopensearch-project:mainfrom Sep 11, 2025
Merged
Support system generated search pipeline.#19128owaiskazi19 merged 1 commit intoopensearch-project:mainfrom
owaiskazi19 merged 1 commit intoopensearch-project:mainfrom
Conversation
a795257 to
4b091fc
Compare
bzhangam
commented
Aug 22, 2025
server/src/main/java/org/opensearch/common/metrics/OperationMetrics.java
Show resolved
Hide resolved
bzhangam
commented
Aug 22, 2025
bzhangam
commented
Aug 22, 2025
bzhangam
commented
Aug 22, 2025
server/src/main/java/org/opensearch/search/pipeline/TrackingSearchRequestProcessorWrapper.java
Show resolved
Hide resolved
f9f586c to
8d07f79
Compare
Signed-off-by: Bo Zhang <bzhangam@amazon.com>
Contributor
Author
|
@atris Addressed your comments. Can you take another look? |
Contributor
|
❌ Gradle check result for 01c21d5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Contributor
5 tasks
atris
approved these changes
Sep 11, 2025
Member
|
@bzhangam please add example plugin and ITs in a new PR |
Contributor
Author
Sure will raise a PR for it soon. |
bzhangam
added a commit
to bzhangam/OpenSearch
that referenced
this pull request
Sep 18, 2025
Signed-off-by: Bo Zhang <bzhangam@amazon.com>
jainankitk
pushed a commit
to jainankitk/OpenSearch
that referenced
this pull request
Sep 22, 2025
Signed-off-by: Bo Zhang <bzhangam@amazon.com>
jainankitk
pushed a commit
to jainankitk/OpenSearch
that referenced
this pull request
Sep 22, 2025
Signed-off-by: Bo Zhang <bzhangam@amazon.com> Signed-off-by: Ankit Jain <jainankitk@apache.org>
jainankitk
pushed a commit
to jainankitk/OpenSearch
that referenced
this pull request
Sep 22, 2025
Signed-off-by: Bo Zhang <bzhangam@amazon.com> Signed-off-by: Ankit Jain <jainankitk@apache.org>
asimmahmood1
pushed a commit
to jainankitk/OpenSearch
that referenced
this pull request
Sep 23, 2025
Signed-off-by: Bo Zhang <bzhangam@amazon.com>
pranikum
pushed a commit
to pranikum/OpenSearch
that referenced
this pull request
Sep 23, 2025
Signed-off-by: Bo Zhang <bzhangam@amazon.com>
3 tasks
vinaykpud
pushed a commit
to vinaykpud/OpenSearch
that referenced
this pull request
Sep 26, 2025
Signed-off-by: Bo Zhang <bzhangam@amazon.com>
This was referenced Jan 10, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Support system generated search pipeline and also support the stats for it.
Also have done a simple microbenchmark On Apple M3 Pro 36 GB.
Create a dummy processor factory which will check if query in the search request is bool query. If it is then create the dummy processor. And below are the average time used to loop through 100 and 1000 dummy factories to evaluate the search request.
Even we need to use 1000 factories to evaluate the search request as long as the evaluation logic is a simple if else check it only needs less than 1us which is negligible.
After adding the metrics for evaluation and generation the latency goes much higher but still negligible. less than 0.1 ms for 1000 factories.
Will raise a separate PR to add example plugin and integ tests for this change.
Related Issues
Resolves #18731
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.