[Feature Request] Build Sort Search Processor and Split Search Processor #14758
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
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
andSplit Search Processor
Related component
Search
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: