Skip to content

Instantly share code, notes, and snippets.

View A21z's full-sized avatar

Alban Perillat-Merceroz A21z

  • Teads
  • Montpellier
View GitHub Profile
curl -XPUT 'http://localhost:9200/index/type/1' -d '{ "dots" : "first.second.third" }'
curl -XGET 'http://localhost:9200/index/type/_search' -d '{ "query" : { "prefix" : { "dots" : "first.second" }}}'