Skip to content

Commit a8726ad

Browse files
committed
fix(search): Add limit to the text search engine
Without the limit the results are capped at 100.
1 parent 6301da4 commit a8726ad

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

frontend/src/lib/components/search/search.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,9 @@ export function search({
414414
transformedQuery = `text_${query}`;
415415
}
416416

417-
const textSearchResults = searchEngine.flexIndex.search(transformedQuery);
417+
const textSearchResults = searchEngine.flexIndex.search(transformedQuery, {
418+
limit: 5000
419+
});
418420

419421
const searchOptions = {
420422
per_page: limit,

0 commit comments

Comments
 (0)