Skip to content

Commit 078da3f

Browse files
committed
Better choice for unmapped types when sorting
1 parent 705c03c commit 078da3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ChallengeService.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ async function searchChallenges(currentUser, criteria) {
710710
[sortByProp]: {
711711
order: sortOrderProp,
712712
missing: "_last",
713-
unmapped_type: "text",
713+
unmapped_type: "keyword",
714714
},
715715
},
716716
],

0 commit comments

Comments
 (0)