Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7d10422

Browse files
committedApr 15, 2024
fix(sort): correct kind for score sort
1 parent fdd4c16 commit 7d10422

File tree

1 file changed

+1
-1
lines changed
  • java-client/src/main/java/co/elastic/clients/elasticsearch/_types

1 file changed

+1
-1
lines changed
 

‎java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScoreSort.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public static ScoreSort of(Function<Builder, ObjectBuilder<ScoreSort>> fn) {
7777
*/
7878
@Override
7979
public SortOptions.Kind _sortOptionsKind() {
80-
return SortOptions.Kind.Doc;
80+
return SortOptions.Kind.Score;
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)
Please sign in to comment.