Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update memcached translation,adding delete example

  • Loading branch information...
commit af000649319c9fa57cc646ee913ea74309e383d3 1 parent a0d4141
@medcl authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 guide/reference/modules/memcached.textile
View
6 guide/reference/modules/memcached.textile
@@ -145,4 +145,10 @@ get /index/_search?source=%7b++++%22query%22%3a+%7b++++++++%22bool%22%3a+%7b++++
VALUE /index/_search?source=%7b++++%22query%22%3a+%7b++++++++%22bool%22%3a+%7b++++++++++++%22should%22%3a+%5b++++++++++++++++++++++++++%7b++++++++++++++++++++%22match_all%22%3a+%7b%7d+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%7d++++++++++++%5d++++++++%7d++++%7d%2c++++%22from%22%3a+0%2c++++%22size%22%3a+10%7d 0 207
{"took":3,"timed_out":false,"_shards":{"total":2,"successful":2,"failed":0},"hits":{"total":1,"max_score":1.0,"hits":[{"_index":"index","_type":"type","_id":"1","_score":1.0, "_source" : {"name":"medcl"}}]}}
END
+</pre>
+
+6.删除索引文档
+<pre>
+delete /index/type/1
+DELETED
</pre>
Please sign in to comment.
Something went wrong with that request. Please try again.