Skip to content

Commit

Permalink
Fix limit doesn't work for findEndpoint API in ES storage
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhenxu94 committed Nov 9, 2023
1 parent 92af797 commit 97d3f84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public List<Endpoint> findEndpoint(String keyword, String serviceId, int limit)
.client(getClient())
.search(search.build())
.index(index)
.queryMaxSize(queryMaxSize)
.queryMaxSize(limit)
.resultConverter(searchHit -> {
final var sourceAsMap = searchHit.getSource();

Expand Down

0 comments on commit 97d3f84

Please sign in to comment.