Bump context results size
This commit is contained in:
parent
703f36751d
commit
3e92d17097
|
@ -346,9 +346,7 @@ def query_results(request, query_params, size=None, annotate=True, custom_query=
|
||||||
query = query_params["query"]
|
query = query_params["query"]
|
||||||
search_query = construct_query(query, size)
|
search_query = construct_query(query, size)
|
||||||
else:
|
else:
|
||||||
print("NO QUERY")
|
|
||||||
if custom_query:
|
if custom_query:
|
||||||
print("CUSTOM")
|
|
||||||
search_query = custom_query
|
search_query = custom_query
|
||||||
if add_bool:
|
if add_bool:
|
||||||
for item in add_bool:
|
for item in add_bool:
|
||||||
|
|
|
@ -244,7 +244,7 @@ class DrilldownContextModal(APIView):
|
||||||
# return JsonResponse({"success": False})
|
# return JsonResponse({"success": False})
|
||||||
num = None
|
num = None
|
||||||
index = "main"
|
index = "main"
|
||||||
size = 10
|
size = 20
|
||||||
# Check right fields exist
|
# Check right fields exist
|
||||||
if "net" not in request.data:
|
if "net" not in request.data:
|
||||||
return JsonResponse({"success": False})
|
return JsonResponse({"success": False})
|
||||||
|
|
Loading…
Reference in New Issue