Skip to content

Commit

Permalink
feat(next/api): track total hits to 100000
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjdd committed Jan 5, 2024
1 parent e4d4c23 commit c434984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions next/api/src/service/search-ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ export class SearchTicketService {
const body = esb
.requestBodySearch()
.query(boolQuery)
.trackTotalHits(100000)
.sort(esb.sort(sortField, order))
.from(skip)
.size(limit)
Expand Down

0 comments on commit c434984

Please sign in to comment.