ElasticSearch通配符 * 查询(英文检索)

#如果你要查询的字段信息记得不太清楚,   我们也可以使用通配符 *

GET /lib3/user/_search
{
  "from":0, 
  "size": 2,
  "_source": {
    "includes": "addr*",
    "excludes": ["name" , "bir*"]
  },
  "query": {
    "match_all": {}
  }
}

 

 
发布了298 篇原创文章 · 获赞 107 · 访问量 14万+

猜你喜欢

转载自blog.csdn.net/ywl470812087/article/details/104876785