ES:must_not 是否能走索引快速过滤?

参考

https://blog.csdn.net/waltonhuang/article/details/107397028?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522170236754316777224470009%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=170236754316777224470009&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2blogfirst_rank_ecpm_v1~rank_v31_ecpm-2-107397028-null-null.nonecase&utm_term=bitmap&spm=1018.2226.3001.4450

https://discuss.elastic.co/t/must-not-in-bool-filter-much-slower-than-must-for-same-terms-filter/1479

ES:must_not 是否能走索引快速过滤?_第1张图片

简单来说应该还是不能用上索引,需要后置逐条过滤,会比较慢

相关阅读:
ES:must_not 是否能走索引快速过滤?_第2张图片

https://www.elastic.co/cn/blog/all-about-elasticsearch-filter-bitsets

你可能感兴趣的:(elasticsearch,大数据,搜索引擎)