aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fuzzycat/matching.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzzycat/matching.py b/fuzzycat/matching.py
index 683d859..c94a308 100644
--- a/fuzzycat/matching.py
+++ b/fuzzycat/matching.py
@@ -86,7 +86,7 @@ def match_release_fuzzy(
}
resp = es.search(body=body, index="fatcat_release")
if es_compat_hits_total(resp) > 0:
- return response_to_entity_list(resp, entity_type=ReleaseEntity, api=api)
+ return response_to_entity_list(resp, entity_type=ReleaseEntity, size=size, api=api)
# Get fuzzy.
# https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#fuzziness
@@ -104,7 +104,7 @@ def match_release_fuzzy(
}
resp = es.search(body=body, index="fatcat_release")
if es_compat_hits_total(resp) > 0:
- return response_to_entity_list(resp, entity_type=ReleaseEntity, api=api)
+ return response_to_entity_list(resp, entity_type=ReleaseEntity, size=size, api=api)
# TODO: perform more queries on other fields.
return []