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

Add secondPhase/globalPhase ranking features #30722

Closed
andreer opened this issue Mar 22, 2024 · 1 comment
Closed

Add secondPhase/globalPhase ranking features #30722

andreer opened this issue Mar 22, 2024 · 1 comment
Assignees
Milestone

Comments

@andreer
Copy link
Member

andreer commented Mar 22, 2024

Is your feature request related to a problem? Please describe.
Result from first phase ranking is available as firstPhase ranking feature. But result from second phase and global phase is not.

With global phase, secondPhase score is not necessarily the one output in the results. But getting this value as an output feature, or input to global phase, can be valuable. Same with globalPhase in case the final relevance score is determined by custom result processing code.

Describe the solution you'd like
Make these available as secondPhase and globalPhase rank features.

Describe alternatives you've considered
Can define the firstPhase or globalPhase expressions in a function and use this.

@geirst
Copy link
Member

geirst commented May 22, 2024

The secondPhase rank feature is available in Vespa 8.344.63.
Documentation: https://docs.vespa.ai/en/reference/rank-features.html#secondPhase
PRs: #31227, vespa-engine/system-test#3941

We concluded that globalPhase is of less interest as it is the last rank phase. This feature hasn't been implemented at this point.

@geirst geirst closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants