Change druid URL
This commit is contained in:
parent
2a4db7476f
commit
987ba6ed3c
|
@ -114,7 +114,7 @@ class DruidBackend(StorageBackend):
|
||||||
ss = orjson.dumps(search_query, option=orjson.OPT_INDENT_2)
|
ss = orjson.dumps(search_query, option=orjson.OPT_INDENT_2)
|
||||||
ss = ss.decode()
|
ss = ss.decode()
|
||||||
print(ss)
|
print(ss)
|
||||||
response = requests.post("http://broker:8082/druid/v2", json=search_query)
|
response = requests.post("http://druid:8082/druid/v2", json=search_query)
|
||||||
response = orjson.loads(response.text)
|
response = orjson.loads(response.text)
|
||||||
print("RESPONSE LEN", len(response))
|
print("RESPONSE LEN", len(response))
|
||||||
# ss = orjson.dumps(response, option=orjson.OPT_INDENT_2)
|
# ss = orjson.dumps(response, option=orjson.OPT_INDENT_2)
|
||||||
|
|
|
@ -65,11 +65,12 @@ $(document).ready(function(){
|
||||||
"file_ext": "off",
|
"file_ext": "off",
|
||||||
"file_size": "off",
|
"file_size": "off",
|
||||||
"lang_code": "off",
|
"lang_code": "off",
|
||||||
|
"tokens": "off",
|
||||||
//"lang_name": "off",
|
//"lang_name": "off",
|
||||||
"words_noun": "off",
|
// "words_noun": "off",
|
||||||
"words_adj": "off",
|
// "words_adj": "off",
|
||||||
"words_verb": "off",
|
// "words_verb": "off",
|
||||||
"words_adv": "off"
|
// "words_adv": "off"
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -65,13 +65,13 @@ class DrilldownTable(Table):
|
||||||
realname = Column()
|
realname = Column()
|
||||||
server = Column()
|
server = Column()
|
||||||
mtype = Column()
|
mtype = Column()
|
||||||
# tokens = Column()
|
tokens = Column()
|
||||||
lang_code = Column()
|
lang_code = Column()
|
||||||
lang_name = Column()
|
lang_name = Column()
|
||||||
words_noun = Column()
|
# words_noun = Column()
|
||||||
words_adj = Column()
|
# words_adj = Column()
|
||||||
words_verb = Column()
|
# words_verb = Column()
|
||||||
words_adv = Column()
|
# words_adv = Column()
|
||||||
hidden = Column()
|
hidden = Column()
|
||||||
filename = Column()
|
filename = Column()
|
||||||
file_md5 = Column()
|
file_md5 = Column()
|
||||||
|
|
Loading…
Reference in New Issue