Update internal index name

This commit is contained in:
2022-09-05 07:20:30 +01:00
parent 0882d3f0da
commit f35eb51aaf
7 changed files with 18 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ def construct_query(index, net, channel, src, num, size, type=None, nicks=None):
"src",
"tokens",
]
if index == "int":
if index == "internal":
fields.append("mtype")
if channel == "*status" or type == "znc":
if {"match": {"channel": channel}} in extra_must: