类似sql的like查询

POST /_sql?format=txt
{
  "query": "SELECT * FROM content_index Where content like '%ES%' "
}
POST /_sql/translate
{
  "query": "SELECT content FROM content_index Where content like '%ES%'"
}

*表示任意字符
GET law_qa/_search
{
  "size": 10,
  "query": {
    "wildcard": {
      "query_file_code": {
        "wildcard": "*沪地税一199*"
      }
    }
  }
  ,"_source": ["search_file_code","file_code"]
}