1\将其改写为I'\''m就可以执行

2\

curl -u elastic:mypass -X GET "localhost:9200/_analyze?pretty"  -d 'analyzer=standard&text=this is a'\''1 test'

3\

 

curl -u elastic:mypass -X GET "10.16.1.1:9200/Index_name/_search?pretty" -H 'Content-Type: application/json' -d '
{
  "_source":["post_time","id","last_update_time"],
  "query": {
   "wildcard":{
     "id":"*1998*"
   }
  }
}
'

curl -u elastic:mypass -X GET "127.0.0.1:9200/my_index/_cat/mapping?pretty"
 

  

  

相关文章:

  • 2022-12-23
  • 2021-06-07
  • 2021-08-02
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-03
  • 2021-11-18
  • 2022-02-07
  • 2021-06-10
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
相关资源
相似解决方案