2019-06-28

2019-06-28  本文已影响0人  Source_

ES 正则 查询手机号为移动运营商DSL(性能巨慢):

POST tbcrm_*/memberInfo/_update_by_query
{
"script": {
"source": "ctx._source.operator=1"
},
"query": {
"regexp": {
"mobile": {
"value": "(1[0-9]{8})|((170)[012][0-9]{7})|((1410)[0-9]{7})",
"max_determinized_states": 1000000
}
}
}
}

上一篇 下一篇

猜你喜欢

热点阅读