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

[Feature Request] Build Sort Search Processor and Split Search Processor #14758

Closed
jackiehanyang opened this issue Jul 15, 2024 · 0 comments · Fixed by #14785
Closed

[Feature Request] Build Sort Search Processor and Split Search Processor #14758

jackiehanyang opened this issue Jul 15, 2024 · 0 comments · Fixed by #14785
Assignees
Labels
enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc v2.16.0 Issues and PRs related to version 2.16.0

Comments

@jackiehanyang
Copy link

Is your feature request related to a problem? Please describe

The Machine Learning Inference Processor is designed to improve the ease of using machine learning models for processing ingest/search requests. It utilizes a machine learning model to read from the data and add the prediction outcome to the data being ingested through the ingest pipeline, or return the prediction outcomes along with the search response through the search pipeline. Each ml-commons remote inference includes a pre-process function and a post-process function. The process function, written with a painless script, defines the pre-process and post-process data transformations needed for the ml-commons remote inference use case.

Given that we are on a path to reduce Painless script usage due to its complexity for customers, we introduced a JSONPath dependency to replace the Painless script process functions. However, JSONPath has some functional limitations that cannot fulfill the ml-commons inference processor data transformation requirements. Therefore, we propose introducing two response processors: the sorting response processor and the split response processor, to address the functional limitations of JSONPath.

Describe the solution you'd like

Similar as Sort Ingest Processor and Split Ingest Processor, we would like to build a Sort Search Processor and Split Search Processor

Related component

Search

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc v2.16.0 Issues and PRs related to version 2.16.0
Projects
Status: 2.16 (First RC 07/23, Release 08/06)
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants