bug_x

导航

 

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"
 

  

  

posted on 2019-04-29 16:52  bug_x  阅读(1326)  评论(0编辑  收藏  举报