Skip to content
Snippets Groups Projects
Commit 90c1c5fb authored by Martin Golasowski's avatar Martin Golasowski
Browse files

v1.0.15 - Increase limit of regex query

parent 044e4bcd
1 merge request!18v1.0.15 - Increase limit of regex query
......@@ -142,7 +142,7 @@ def list_datasets(projects, username):
query["bool"]["must"][0]["bool"]["should"][1]["regexp"]["absolutePath"]["value"] = user_regex
query["bool"]["must"][0]["bool"]["should"][2]["regexp"]["absolutePath"]["value"] = public_regex
res = es.search(index=settings.ES_INDEX, query=query, size=1000)
res = es.search(index=settings.ES_INDEX, query=query, size=5000)
# Convert the dict to the old format
datasets_out = []
for dataset in res['hits']['hits']:
......
......@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "ddi-api"
version = "1.0.14"
version = "1.0.15"
description = ''
requires-python = ">=3.7"
license = "MIT"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment