opensearch-project / OpenSearch

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

[Search pipeline] Support query context modification in script processor #7758

Open noCharger opened 1 year ago

noCharger commented 1 year ago

In the https://github.com/opensearch-project/OpenSearch/pull/7607, script processor only supported primitive types. As a next step, we should consider support query context modification.

msfroh commented 1 year ago

Step 1, we will need a proposed Painless API for manipulating queries, since there are many query types, and IMO we don't just want to pass through the Java API.

msfroh commented 1 year ago

Should we replace this issue with https://github.com/opensearch-project/OpenSearch/issues/9200 ?

How do RFCs and tasks interact?