Implement network page

This commit is contained in:
2022-07-26 22:15:30 +01:00
parent c993bb9c6e
commit df049f822c
13 changed files with 304 additions and 15 deletions

View File

@@ -11,7 +11,6 @@ def construct_query(net, nicks):
query_nicks = [{"match": {"nick": x}} for x in nicks]
query_users = [{"match": {"user": x}} for x in nicks]
query_should = query_nicks + query_users
# print("QUERY SHOULD", query_should)
# Get the initial query
query = {
"size": settings.NICKTRACE_QUERY_SIZE,