Skip to content

Instantly share code, notes, and snippets.

View bradcavanagh's full-sized avatar

Brad Cavanagh bradcavanagh

  • Unity Technologies
  • Vancouver, British Columbia
  • X @CanSpice
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bradcavanagh on github.
  • I am bradcavanagh (https://keybase.io/bradcavanagh) on keybase.
  • I have a public key whose fingerprint is F25B 6B21 73C4 E613 EE3B 4AA2 660F 18C0 094B 1005

To claim this, I am signing this object:

curl -XPUT localhost:9200/test-ttl -d '{
"settings" : {
"index.number_of_shards" : 1,
"index.number_of_replicas" : 0
},
"mappings" : {
"test-doc" : {
"_ttl" : {
"enabled" : true,
"default" : "1m"