Skip to content

Commit

Permalink
fix test for OrderQuery builder
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Jul 23, 2024
1 parent a33cb19 commit 2cc89cc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ public void searchQueryBuilder() {
.orders()
.search()
// .post("")
.post(r -> r.withQuery(q -> q.exists(e -> e.field("custom.deliveryDate").customType("StringType")))
.post(r -> r
.withQuery(q -> q.exists(
e -> e.field("custom.deliveryDate").customType(OrderSearchCustomType.STRING_TYPE)))
.withSort(b -> b.field("createdAt").order(OrderSearchSortOrder.DESC))
.limit(20))
.executeBlocking()
Expand Down

0 comments on commit 2cc89cc

Please sign in to comment.