Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] : Search Phase Results Processor in Search Pipeline #139

Closed
4 tasks done
navneet1v opened this issue Mar 20, 2023 · 2 comments
Closed
4 tasks done

[FEATURE] : Search Phase Results Processor in Search Pipeline #139

navneet1v opened this issue Mar 20, 2023 · 2 comments
Assignees
Labels
Enhancements Increases software capabilities beyond original client specifications Features Introduces a new unit of functionality that satisfies a requirement

Comments

@navneet1v
Copy link
Collaborator

navneet1v commented Mar 20, 2023

Description

For Normalization and Score Combination feature, we need a way to do the Normalization of scores received for different sub-queries from different shards at Coordinator node, before we can start combing the scores. This needs to be done after the Query phase is completed and before Fetch Phase is started in a _search api call.

Solution

The solution I am proposing is to extend the Search Pipeline Processor to create a new Processor Interface called as Search Phase Processors that can run between Phases of Search(There are many phases Search like DFS, Query, Fetch, Expand etc).

As first use-case we will create a new SearchPhase Processor that will run between Query and Fetch phase, which do the Normalization of Scores and combine the Scores after normalization.

Alternatives

The alternative approaches are defined in the Section: Obtaining Relevant Information for Normalization and score Combination in #126

Task

Reference Links

  1. [RFC] High Level Approach and Design For Normalization and Score Combination #126
  2. [RFC] Search pipelines search-processor#80
@navneet1v navneet1v self-assigned this Mar 20, 2023
@navneet1v navneet1v changed the title [FEATURE] : Create Search Phase Processor Interface in Search Pipeline [FEATURE] : Search Phase Processor Interface in Search Pipeline Mar 20, 2023
@navneet1v navneet1v added Features Introduces a new unit of functionality that satisfies a requirement Enhancements Increases software capabilities beyond original client specifications and removed untriaged labels Mar 20, 2023
@vamshin vamshin added the v2.8.0 label Mar 23, 2023
@navneet1v navneet1v changed the title [FEATURE] : Search Phase Processor Interface in Search Pipeline [FEATURE] : Search Phase Processor in Search Pipeline Mar 23, 2023
@navneet1v navneet1v removed the v2.8.0 label May 26, 2023
@navneet1v
Copy link
Collaborator Author

@navneet1v navneet1v changed the title [FEATURE] : Search Phase Processor in Search Pipeline [FEATURE] : Search Phase Results Processor in Search Pipeline Jul 15, 2023
@navneet1v
Copy link
Collaborator Author

Resolving this issue as this feature is launched in 2.10 version of OpenSearch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancements Increases software capabilities beyond original client specifications Features Introduces a new unit of functionality that satisfies a requirement
Projects
None yet
Development

No branches or pull requests

3 participants