Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. curl -XPOST 'http://localhost:9200/imap_email/imap_bruce/12/_update' -d '{
  2. "script" : "ctx._source.simperium = "12345""
  3. }'
  4.  
  5. {
  6. "constant_score" : {
  7. "filter" : {
  8. "exists" : { "field" : "simperium" }
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement