Skip to content

Commit b9cfa43

Browse files
authored
fix hybrid search (#2799)
1 parent 47ea851 commit b9cfa43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

learning_resources_search/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def add_text_query_to_search(
665665
}
666666
}
667667

668-
pagination_depth = search_params.get("limit") * 3
668+
pagination_depth = search_params.get("limit", 10) * 3
669669
search = search.extra(
670670
query={
671671
"hybrid": {

0 commit comments

Comments
 (0)