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 = ss.decode()
|
||||
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)
|
||||
print("RESPONSE LEN", len(response))
|
||||
# ss = orjson.dumps(response, option=orjson.OPT_INDENT_2)
|
||||
|
|
|
@ -65,11 +65,12 @@ $(document).ready(function(){
|
|||
"file_ext": "off",
|
||||
"file_size": "off",
|
||||
"lang_code": "off",
|
||||
"tokens": "off",
|
||||
//"lang_name": "off",
|
||||
"words_noun": "off",
|
||||
"words_adj": "off",
|
||||
"words_verb": "off",
|
||||
"words_adv": "off"
|
||||
// "words_noun": "off",
|
||||
// "words_adj": "off",
|
||||
// "words_verb": "off",
|
||||
// "words_adv": "off"
|
||||
},
|
||||
};
|
||||
} else {
|
||||
|
|
|
@ -65,13 +65,13 @@ class DrilldownTable(Table):
|
|||
realname = Column()
|
||||
server = Column()
|
||||
mtype = Column()
|
||||
# tokens = Column()
|
||||
tokens = Column()
|
||||
lang_code = Column()
|
||||
lang_name = Column()
|
||||
words_noun = Column()
|
||||
words_adj = Column()
|
||||
words_verb = Column()
|
||||
words_adv = Column()
|
||||
# words_noun = Column()
|
||||
# words_adj = Column()
|
||||
# words_verb = Column()
|
||||
# words_adv = Column()
|
||||
hidden = Column()
|
||||
filename = Column()
|
||||
file_md5 = Column()
|
||||
|
|
Loading…
Reference in New Issue