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

remove unused DocId enum variant #4733

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

remove unused DocId enum variant #4733

wants to merge 1 commit into from

Conversation

PSeitz
Copy link
Contributor

@PSeitz PSeitz commented Mar 14, 2024

The DocId variant in the score extractor is unused since there is nothing to extract.

Description

Describe the proposed changes made in this PR.

How was this PR tested?

Describe how you tested this PR.

The DocId variant in the score extractor is unused since there is nothing to extract.
@PSeitz PSeitz marked this pull request as draft March 14, 2024 08:56
Copy link
Contributor

@fulmicoton fulmicoton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this an improvement?

It is Option<EnumWithoutDocIdVariant> vs EnumWithDocIdVariant isn't it?

@PSeitz
Copy link
Contributor Author

PSeitz commented Apr 4, 2024

Why is this an improvement?

It is Option<EnumWithoutDocIdVariant> vs EnumWithDocIdVariant isn't it?

The Option<EnumWithoutDocIdVariant> is just the consequence, when we remove the unused SortingFieldExtractorComponent::DocId.

But it seems to be still used outside of the segment collector. When reading the segment collector part, it's a little bit misleading.

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

Successfully merging this pull request may close these issues.

None yet

2 participants