opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.62k stars 1.76k forks source link

Scripting (painless/mustache) response processor #6713

Open macohen opened 1 year ago

macohen commented 1 year ago

As a user of search pipelines, I want to modify search responses with a painless or mustache script after results are returned from the index and before they are returned to the client.

noCharger commented 1 year ago

https://gist.github.com/noCharger/d9873828dcf0c40b976ed0a5785dd6a3

AndreiSolodinTR commented 4 months ago

Hello, I was wondering if any progress has been made on this? We have a use case where we would like to do some post processing on the search result. I believe this change would really help us. Thanks