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

[BUG] ScoreSort returns SortOptions.Kind.Doc #1492

Open
lflores-apex opened this issue Mar 21, 2025 · 0 comments
Open

[BUG] ScoreSort returns SortOptions.Kind.Doc #1492

lflores-apex opened this issue Mar 21, 2025 · 0 comments
Labels
bug Something isn't working untriaged

Comments

@lflores-apex
Copy link

lflores-apex commented Mar 21, 2025

What is the bug?

When creating a ScoreSort it ends up behaving as _doc sort because the kind of ScoreSort is SortOptions.Kind.Doc

How can one reproduce the bug?

SortOptionsBuilders.score().build()._sortOptionsKind() // == _doc

What is the expected behavior?

SortOptionsBuilders.score().build()._sortOptionsKind() // == _score

What is your host/environment?

Windows 10

Do you have any screenshots?

Image

Do you have any additional context?

@Override
public SortOptions.Kind _sortOptionsKind() {
return SortOptions.Kind.Doc;
}

@lflores-apex lflores-apex added bug Something isn't working untriaged labels Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

1 participant