Port Manticore and debug

This commit is contained in:
2025-01-23 11:35:39 +00:00
parent fe087eb591
commit a4c3834b62
11 changed files with 29 additions and 17 deletions

View File

@@ -85,5 +85,4 @@ def construct_query(index, net, channel, src, num, size, type=None, nicks=None):
if extra_should2:
query["query"]["bool"]["must"].append({"bool": {"should": [*extra_should2]}})
print("CONTEXT QUERY", query)
return query

View File

@@ -91,7 +91,6 @@ def parse_index(user, query_params, raise_error=False):
else:
index = settings.INDEX_MAIN
print("GOT INDEX", index)
return index