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] DocSort to have its own type #1493

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

[FEATURE] DocSort to have its own type #1493

lflores-apex opened this issue Mar 21, 2025 · 0 comments
Labels
enhancement New feature or request untriaged

Comments

@lflores-apex
Copy link

Is your feature request related to a problem?

There is no DocSort as of now. If you build a DocSort you are building a ScoreSort.

What solution would you like?

DocSort to have its own type.

What alternatives have you considered?

None

Do you have any additional context?

* Creates a builder for the {@link ScoreSort _doc} {@code SortOptions} variant.
*/
public static ScoreSort.Builder doc() {
return new ScoreSort.Builder();
}

https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html

The sort is defined on a per field level, with special field name for _score to sort by score, and _doc to sort by index order.

@lflores-apex lflores-apex added enhancement New feature or request untriaged labels Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged
Projects
None yet
Development

No branches or pull requests

1 participant