I want to set up a preprocessor for search query field for which the specific value will be replaced from a set of values before the search query execution.
The purpose to preprocess a value from set of values is to reduce the network latency due by reducing query size.
I know ingest node provides preprocess capability before indexing but I want similar feature in search query