Search Phase Processor in Search Pipeline

We are proposing a new type of Processor in Search Pipeline called as Search Phase Processor. Apart from having Search Request and Search Response Processor this Processor Interface will allow us to build Processor which can run between phases of Search. There are many phases which a search request goes through like QUERY, DFS, FETCH, EXPAND etc. Intercepting the request in between these phases can enable us to customize the Search more. One example of Search Phase processor we can think of building is Normalization Processor. This will allow use normalize the scores of different queries at Coordinator Node level.

We want to hear more from the community : [RFC]: Search Phase Processor · Issue #152 · opensearch-project/neural-search · GitHub