From 287540699ac0468981f76286b4b173df16310c85 Mon Sep 17 00:00:00 2001 From: Cephas Chapa Date: Mon, 29 Apr 2024 09:55:18 +0200 Subject: [PATCH] fix(api): add query size prop to increase search results --- api/routes/search.routes.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/routes/search.routes.ts b/api/routes/search.routes.ts index 5889c26a..e296b7bf 100644 --- a/api/routes/search.routes.ts +++ b/api/routes/search.routes.ts @@ -80,6 +80,8 @@ router.get( if (esEnabled) { const client = getClient(); const query = { + from : 0, + size : 100, query: { function_score: { query: {