PUT /jzt_study_content { "mappings": { "content":{ "properties":{ "id":{ "type":"keyword" }, "title":{ "type":"text", "analyzer":"ik_max_word" }, "sor Read More
posted @ 2020-07-24 14:22
soft.push("zzq")
Views(132)
Comments(0)
Diggs(0)
ES查询策略的选择优化: 问题:ES6.8 使用TermQuery查询数值类型字段变慢,改为RangeQuery却变得飞快? profile显示耗时都在build_scorer中。 解释真相:在5.x以前,Lucene版本中无数值类型,本质都是底层转换为字符串,使用倒排索引的方式进行数据查询。这样的 Read More
posted @ 2020-07-24 14:07
soft.push("zzq")
Views(783)
Comments(0)
Diggs(0)