Implement threshold writing to Redis and manticore ingesting from Redis

This commit is contained in:
2022-09-07 07:20:30 +01:00
parent 54ea5fa8e9
commit 5c3b338017
7 changed files with 184 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
schema = {
schema_main = {
"id": "bigint",
# 1
"archived": "int",
@@ -130,3 +130,67 @@ schema = {
# 1, 2
"version_tokens": "int",
}
schema_meta = {
"id": "bigint",
# 393598265, #main, Rust Programmer's Club
"channel": "text",
# 9f7b2e6a0e9b
"host": "text",
# "522, trans rights shill", myname
"ident": "text",
# The quick brown fox jumped over the lazy dog
"msg": "text",
# pol
"net": "text",
# André de Santa Cruz, santa
"nick": "text",
# 1, 2, 3, 4, 5, 6, ...
"num": "int",
# Greens
"realname": "text",
# irc.freenode.net
"server": "text",
# 4ch, irc, dis
"src": "string indexed attribute",
# true, false
"status": "bool",
# 2022-09-02T16:10:36
"ts": "timestamp",
# msg, notice, update, who
"type": "string indexed attribute",
}
schema_int = {
"id": "bigint",
# 393598265, #main, Rust Programmer's Club
"channel": "text",
# 9f7b2e6a0e9b
"host": "text",
# "522, trans rights shill", myname
"ident": "text",
# 0
"mode": "string indexed attribute",
# b0n3
"modearg": "string indexed attribute",
# The quick brown fox jumped over the lazy dog
"msg": "text",
# pol
"net": "text",
# André de Santa Cruz, santa
"nick": "text",
# 1, 2, 3, 4, 5, 6, ...
"num": "int",
# 4ch, irc, dis
"src": "string indexed attribute",
# true, false
"status": "bool",
# 2022-09-02T16:10:36
"ts": "timestamp",
# Anonymous
"user": "text",
# msg, notice, update, who
"type": "string indexed attribute",
# msg, notice, update, who
"mtype": "string indexed attribute",
}